MATLAB Answers

How to convert an array to mat file?

180 views (last 30 days)
SHRUTHI k
SHRUTHI k on 7 Jul 2016
Answered: cbrysch on 7 Jul 2016
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.

  0 Comments

Sign in to comment.

Accepted Answer

cbrysch
cbrysch on 7 Jul 2016
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 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags


Translated by