Page 1 of 1

Matlab import data question

Posted: Wed Feb 14, 2007 10:31 pm
by zfhammer
Does anyone use Matlab? Please tell me how to import data file(e.g. *.txt) and use it.

For example, if I wanna use the data from x.txt which is shown as below.

x.txt

'A','B','C'...

In my m-file, I am going to make a cell of input. i.e. input={'A','B','C'...}

How can I do this?

Posted: Wed Feb 14, 2007 11:21 pm
by quintic
Hi zfhammer, I don't know MATLAB, but if you google "matlab load data" (without the quotes) there are lots of references; e.g., Loading Data into MATLAB for Plotting.

Nick