MATLAB Answers


To save workspace variables automatically

Asked by Priya
on 31 May 2013

I have 5 matlab scripts.

I am running these scripts one after the other using eval() function.

I want to save the workspace variables once previous script finishes and new script starts executing.

Is there any function to save ALL WORKSPACE VARIABLES TOGETHER ???



No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek
on 31 May 2013
Edited by Azzi Abdelmalek
on 31 May 2013
 Accepted answer

save yourfilename
doc save
doc load


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!