Save Open State in Editor???
조회 수: 20 (최근 30일)
이전 댓글 표시
Is there no preferences option to have editor reload previous state w/o having to open each and every file again? Very rude behavior...
댓글 수: 0
답변 (1개)
Steven Lord
2020년 1월 17일
In the Preferences for MATLAB, there's a section titled Editor/Debugger. One of the options that you can select (and I believe is selected by default) is "On restart reopen files from previous MATLAB session". However I believe under certain circumstances (like if MATLAB crashes) that may not always work.
Or do you mean you accidentally or intentionally closed a file (or all the files) and want to undo that action? I don't believe there is a way to undo that, but it seems like a reasonable enhancement request.
As a third option, if you want to be able to "remember" what files are opened, close some and/or open others, then restore the "remembered" set of files I think the projects functionality in MATLAB may be of interest to you. That functionality was introduced in release R2019a.
댓글 수: 8
Mac
2025년 10월 9일
Would it also be possible to use the automatically saved list of open matlab files (for instance in Matlab2020a) to make a newer matlab version (for instance Matlab2024b) installed on a different computer (with the same file structure) open the same files?
(Or is there some other way to open a long-ish list of files (same file structure on computer) on another computer)
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!