How do I Save all the Variables in the Workspace.

9 ビュー (過去 30 日間)
Tianchu Lu
Tianchu Lu 2022 年 8 月 16 日
回答済み: Kevin Holly 2022 年 8 月 16 日
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

採用された回答

Kevin Holly
Kevin Holly 2022 年 8 月 16 日
save('filename.mat','-mat')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMulticore Processor Targets についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by