필터 지우기
필터 지우기

How do I Save all the Variables in the Workspace.

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by