How to convert an array to mat file?

118 次查看(过去 30 天)
Hello everyone. I need your help to find solution to my problem. My problem is that, I have an array containing decimal data. I want to convert this array to mat (.mat) file in matlab so that I can load it in another matlab program. How can i achieve this. I request you to help me in solving this. Thanks in advance.

采纳的回答

cbrysch
cbrysch 2016-7-7
You can save your data as .mat files using the save or saveas command. E.g. If your array has the name 'MyArray' you can save it to the current folder with
save('MyArray.mat','MyArray')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by