how to save data in matlab file

조회 수: 3 (최근 30일)
xueqi
xueqi 2013년 3월 8일
Hi fellows, Right now I am using things like
if true
% DD=xlsread('parameters.xlsx');
end
to read in data from excel. Is there anyway that I can just export the data in excel as matlab file format. It is just sometimes if my excel program doesn't work, then I can't run my matlab program. That is quite annoying...So could you tell me how to do that?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 8일
편집: Azzi Abdelmalek 2013년 3월 8일
You can use save and load command
save filname DD
DD will be saved in a filname.mat
to get your data
load filname

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by