Saving workspace via command

조회 수: 19 (최근 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 CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by