Converting .dat to .mat?
Ältere Kommentare anzeigen
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 Kommentare
Image Analyst
am 17 Mai 2013
Which part is hanging: the textread(), or the save()?
Rhai
am 18 Mai 2013
Rhai
am 18 Mai 2013
Image Analyst
am 18 Mai 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
am 18 Mai 2013
Your code is not writing anything to cube.dat .
Antworten (0)
Kategorien
Mehr zu String Parsing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!