Hi All,
I am new for SPHysics, so I am still trying to play the cases file. I found there was an error of textread command in matlab file. The textread seems not support in my matlab version in 2010b. So i replace the textread command into textscan as follows:
%[time,DT1,DT2,DT]=textread('DT','%f %f %f %f','headerlines',1);
% Cannot use textread command anymore
% so i change to textscan command
% by John Yu 20 Feb 2014
fileID = fopen('DT');
[DT]=textscan(fileID,'%f %f %f %f','headerlines',1);
time=DT{1};
DT1=DT{2};
DT2=DT{3};
DT=DT{4};
I am not sure the program could run in other matlab version at all? Please anyone to help me to test it. Thx :>