how to save data in matlab file

3 views (last 30 days)
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?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 8 Mar 2013
Edited: Azzi Abdelmalek on 8 Mar 2013
You can use save and load command
save filname DD
DD will be saved in a filname.mat
to get your data
load filname

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!