11 |
% $Header$ |
% $Header$ |
12 |
% $Name$ |
% $Name$ |
13 |
|
|
14 |
imax=13; % record size |
imax=13; % record size |
15 |
ieee='b'; % IEEE big-endian format |
ieee='b'; % IEEE big-endian format |
16 |
bytesPerRec=imax*8; % 8 bytes per real*8 |
bytesPerRec=imax*8; % 8 bytes per real*8 |
17 |
|
|
18 |
[I]=strfind(fName,'/'); |
[I]=strfind(fName,'/'); |
19 |
if length(I) == 0, |
if length(I) == 0, |
20 |
bDr=''; |
bDr=''; |
21 |
else |
else |
22 |
fprintf(' found Dir Sep in file name ('); |
fprintf(' found Dir Sep in file name ('); |
23 |
fprintf(' %i',I); |
fprintf(' %i',I); |
24 |
bDr=fName(1:I(end)); |
bDr=fName(1:I(end)); |
25 |
fprintf(' ) ; load files from Dir "%s"\n',bDr); |
fprintf(' ) ; load files from Dir "%s"\n',bDr); |
26 |
end |
end |