difference between load and xlsread

12 ビュー (過去 30 日間)
San E
San E 2016 年 5 月 4 日
コメント済み: CS Researcher 2016 年 5 月 5 日
Hi! could someone explain me the difference between load and xlsread? also, how can I create a document that could be used with the command "load" in the future. Thanks!


CS Researcher
CS Researcher 2016 年 5 月 4 日
Short Answer:
'load' is to load a .mat file to the workspace whereas 'xlsread' is to read Excel Spreadsheets.
  2 件のコメント
CS Researcher
CS Researcher 2016 年 5 月 5 日
When you save the workspace in MATLAB, it is saved as a .mat file. Once you load that .mat file back, it loads all the variables back to the workspace. You can also save selected variables from the workspace to a .mat file. You can find more here: Save Workspace


その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 5 月 4 日


Find more on Data Import from MATLAB in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by