How do I Save all the Variables in the Workspace.

1 view (last 30 days)
After each full run of my code, I have several variables within the workspace, is there a quicker way of saving them all rather than manually saving each variable by hand?
I have tried using save(filename); and save(filename,'-append'); but however when I try to load(filename) at which the variable is all saved to, it returns to me a blank workspace?
anybody has any idea on how to solve this problem?
Thank you

Accepted Answer

Kevin Holly
Kevin Holly on 16 Aug 2022

More Answers (0)


Find more on Programming Utilities 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!