duraFileName = 'f18340.026.dura.csv';

fid = fopen(duraFileName);

cellIndex = 1;
while ~feof(fid)
    tempLine = fgetl(fid);
    if strcmp(tempLine(1:2), '0x')
        cellData = {tempLine};
        cellIndex = cellIndex + 1;
    end
end

%[phfree,phtot] = phcalc(Vrs, Press, Temp, Salt, k0, k2, Pcoefs);

%Vrs, Press, Temp, Salt, k0, k2, Pcoefs
% [phfree,phtot] = phcalc(pH_data(:,10), pH_data(:,2), ...
%             pH_data(:,3), pH_data(:,4), cal.pH.k0, cal.pH.k2, cal.pH.pcoefs);