Converting .dat to .mat?
Mostrar comentarios más antiguos
I have cube.dat file with dimensions 59X44X76. i am trying to convert it into .mat file with same dimensions. I tried following code, once i run the code it never stops
Option1:
data=textread('cube.dat'); save data.mat;
Option 2
data=textread('cube.dat'); save data.mat data;
Those both codes are running forever. Is there somehting am i missing (like format or anything)?
5 comentarios
Image Analyst
el 17 de Mayo de 2013
Which part is hanging: the textread(), or the save()?
Rhai
el 18 de Mayo de 2013
Rhai
el 18 de Mayo de 2013
Image Analyst
el 18 de Mayo de 2013
Where did you upload cube.dat? http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
Walter Roberson
el 18 de Mayo de 2013
Your code is not writing anything to cube.dat .
Respuestas (0)
Categorías
Más información sobre String Parsing 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!