How are workspace variables from data files stored?

1 view (last 30 days)
I downloaded some code that was packaged withn a data file. It loaded and ran with expected output, but I'd like to archive the code and data file for safety purposes. Once I duplicate the code and data file, what do I need to do to make sure the data file being accessed is the "new copy" and any values I save in th data file (input via matlab workspace) persist after I exit matlab?
Thanks so much
Joe

Answers (1)

Marcel
Marcel on 9 Nov 2022
Edited: Marcel on 9 Nov 2022
In matlab the variables in the workspace can be saved my rightclicking on them and pressing "Save as". Pretty sure you can select all at once (Ctrl + A) and save them as well

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!