Exporting array
19 views (last 30 days)
Show older comments
Hello guys, I have rather simple question: how can I save a matrix into file i.e. (.mat)?? I have matrix of 16*16 in my code and I want to save it into c:/'FileName'.mat
Cheers
0 Comments
Answers (2)
Sean de Wolski
on 28 Jun 2011
save('FileName.mat','yourmatrix')
3 Comments
Sean de Wolski
on 28 Jun 2011
save(OutputFile,'A')
Note the single quotation. Yes, I hate that subtle fact too.
See Also
Categories
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!