Saving workspace via command

11 ビュー (過去 30 日間)
Sam Hurrell
Sam Hurrell 2021 年 10 月 19 日
コメント済み: Sam Hurrell 2021 年 10 月 20 日
I have written code to produce 30 (approx) numeric matrices, all of which I wish to save to a given directory under a single .mat name. What code can be written within the script to save the entire workspace automatically?

採用された回答

Walter Roberson
Walter Roberson 2021 年 10 月 19 日
save('NameOfFileToSaveTo.mat')
  1 件のコメント
Sam Hurrell
Sam Hurrell 2021 年 10 月 20 日
That saves the workspace to the current folder, how would I save it to a defined location?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT Files についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by