difference between load and xlsread

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!

 Respuesta aceptada

CS Researcher
CS Researcher el 4 de Mayo de 2016

0 votos

Short Answer:
'load' is to load a .mat file to the workspace whereas 'xlsread' is to read Excel Spreadsheets.

2 comentarios

San E
San E el 4 de Mayo de 2016
thanks! and how do I make mat files? sorry for such basic questions
CS Researcher
CS Researcher el 5 de Mayo de 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

Iniciar sesión para comentar.

Categorías

Etiquetas

Preguntada:

el 4 de Mayo de 2016

Comentada:

el 5 de Mayo de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by