Exporting array
31 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Sean de Wolski
2011-6-28
save('FileName.mat','yourmatrix')
3 个评论
Sean de Wolski
2011-6-28
save(OutputFile,'A')
Note the single quotation. Yes, I hate that subtle fact too.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!