How are workspace variables from data files stored?

2 Ansichten (letzte 30 Tage)
Joseph Stavitsky
Joseph Stavitsky am 9 Nov. 2022
Bearbeitet: Marcel am 9 Nov. 2022
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

Antworten (1)

Marcel
Marcel am 9 Nov. 2022
Bearbeitet: Marcel am 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

Kategorien

Mehr zu Manage Products finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by