kamilteke
Geotechnical
- Oct 18, 2006
- 1
A long file i have. I want to take a specific part of it. I have the following codes. But after restricting the part of the file i want to read I can not take the part as a matrix format.
fid1=fopen('050912.out','r');
str=fread(fid1,'*char').';
boundary=regexp(str,'\s*at\s*obs\s*epoch\s*length\s*(.*)\s*\s*EARTH\s*ORIENTATION\s*PARAMETERS','tokens');
bound=boundary{:}{:};
The preceding code takes the part that i want to use from the file '050912.out' but into a cell not in a matrix format. Help me please.
fid1=fopen('050912.out','r');
str=fread(fid1,'*char').';
boundary=regexp(str,'\s*at\s*obs\s*epoch\s*length\s*(.*)\s*\s*EARTH\s*ORIENTATION\s*PARAMETERS','tokens');
bound=boundary{:}{:};
The preceding code takes the part that i want to use from the file '050912.out' but into a cell not in a matrix format. Help me please.