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!