Problem with textread
- From: "Luca Zanotti Fragonara" <Luca_Zanotti@xxxxxxxxx>
- Date: Mon, 30 Jun 2008 13:47:02 +0000 (UTC)
Hello, I have a source file of this kind:
X Y
11.37 19.05
17.49 18.68
23.86 18.68
30.06 18.63
.......
I need to create a vector (or a matrix) which contains the
numbers.
I have used a string of this kind:
[x,y]=textread('Coordinates Core.txt','%f %f','endofline',...
'\r\n','delimiter',' ','headerlines',1)';
But al the time that I run the file.m I've an error that is:
??? Error using ==> dataread
Number of outputs must match the number of unskipped input
fields.
Error in ==> textread at 177
[varargout{1:nlhs}]=dataread('file',varargin{:});
Error in ==> Defcoordinates at 18
[x,y]=textread('Coordinates Core.txt','%f %f','endofline',...
I really don't understant what is the problem...
I'm please if you can help me.
Luca
.
- Follow-Ups:
- Re: Problem with textread
- From: Walter Roberson
- Re: Problem with textread
- Prev by Date: Re: parallel computing in matlab
- Next by Date: Re: Help MACE filter design
- Previous by thread: question using matlab command "dos"
- Next by thread: Re: Problem with textread
- Index(es):
Relevant Pages
|