Converting .dat to .mat?
显示 更早的评论
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 个评论
Image Analyst
2013-5-17
Which part is hanging: the textread(), or the save()?
Rhai
2013-5-18
Rhai
2013-5-18
Image Analyst
2013-5-18
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
2013-5-18
Your code is not writing anything to cube.dat .
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 String Parsing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!