How to convert an array to mat file?

조회 수: 29 (최근 30일)
SHRUTHI k
SHRUTHI k 2016년 7월 7일
답변: cbrysch 2016년 7월 7일
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에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by