difference between load and xlsread

4 Ansichten (letzte 30 Tage)
San E
San E am 4 Mai 2016
Kommentiert: CS Researcher am 5 Mai 2016
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!

Akzeptierte Antwort

CS Researcher
CS Researcher am 4 Mai 2016
Short Answer:
'load' is to load a .mat file to the workspace whereas 'xlsread' is to read Excel Spreadsheets.
  2 Kommentare
San E
San E am 4 Mai 2016
thanks! and how do I make mat files? sorry for such basic questions
CS Researcher
CS Researcher am 5 Mai 2016
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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 4 Mai 2016

Kategorien

Mehr zu Data Import from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by