Load different files then converting them into .txt files
Mostrar comentarios más antiguos
Hey everyone,
%%To load data from the (.mat) files and then convert them to (.txt) files
a=['20MIN_SCHJ300639_220208.mat' '20MIN_SEMS170640_040608.mat' '20MIN_SIMG200162_060208.mat'];
for i=1:3
fid = fopen('Data%i.txt', 'w');
load('a(i)');
fprintf (fid, '%.9f \r\n', data_block1);
fclose(fid);
end
I'm having an error in load('a(i)')!! How can I make it work?
Respuesta aceptada
Más respuestas (1)
Walter Roberson
el 13 de Jul. de 2012
0 votos
1 comentario
Yasmin Tamimi
el 14 de Jul. de 2012
Categorías
Más información sobre Environment and Settings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!