From: Lea on 8 Feb 2010 07:56 Hi I am trying to make a script which can import multiple ASCII files and merge them into one matrix. My problem is that my ASCII files have caracters in them and not only numbers so the import must start at row 48. I have fround that the following is working fine importing only one file: newData1 = importdata('file.RAX', ',', 48); However I am not able to get it to work with multiple files. Is there anyone who can help me with this? Regards Lea
From: Pekka Kumpulainen on 8 Feb 2010 08:10 "Lea " <lgj(a)sol.dk> wrote in message <hkp1l4$9tg$1(a)fred.mathworks.com>... > Hi > > I am trying to make a script which can import multiple ASCII files and merge them into one matrix. > > My problem is that my ASCII files have caracters in them and not only numbers so the import must start at row 48. I have fround that the following is working fine importing only one file: > > newData1 = importdata('file.RAX', ',', 48); > > However I am not able to get it to work with multiple files. > > Is there anyone who can help me with this? > > Regards Lea Take a look at 4.12 in MATLAB FAQ http://matlabwiki.mathworks.com/MATLAB_FAQ
From: Lea on 8 Feb 2010 08:55 "Pekka Kumpulainen" <pekka.nospam.kumpulainen(a)tut.please.fi> wrote in message <hkp2ft$1cm$1(a)fred.mathworks.com>... > "Lea " <lgj(a)sol.dk> wrote in message <hkp1l4$9tg$1(a)fred.mathworks.com>... > > Hi > > > > I am trying to make a script which can import multiple ASCII files and merge them into one matrix. > > > > My problem is that my ASCII files have caracters in them and not only numbers so the import must start at row 48. I have fround that the following is working fine importing only one file: > > > > newData1 = importdata('file.RAX', ',', 48); > > > > However I am not able to get it to work with multiple files. > > > > Is there anyone who can help me with this? > > > > Regards Lea > > Take a look at 4.12 in MATLAB FAQ > http://matlabwiki.mathworks.com/MATLAB_FAQ THANKS!!! :-)
|
Pages: 1 Prev: eigenvector with the minimum eigenvalue, how to find a stable solution Next: volume |