How can I save, close, and then reopen a Matlab file later so that I can resume at the same workspace when I closed the file?
이전 댓글 표시
How can I save, close, and then reopen a Matlab file later so that I can resume at the same workspace when I closed the file?
채택된 답변
추가 답변 (1개)
Michael Haderlein
2015년 5월 7일
0 개 추천
What do you mean with closing the file?
You can save the workspace with mat-files. save('matfile.mat') will save the current workspace in matfile.mat. load('matfile.mat') will load the respective workspace.
댓글 수: 2
Chanchal Sadhu
2015년 5월 8일
Michael Haderlein
2015년 5월 8일
Yes, mat-files save the workspace, not the command window. You might be looking for the diary function. Not sure if it is possible to reset the command window exactly as it was (or how much effort it would take).
카테고리
도움말 센터 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!