Save/Restore Variable Editor State
조회 수: 1 (최근 30일)
이전 댓글 표시
Since the sysadmins frequently force me to end my Matlab sessions at the end of the workday, I'd like to be able to restore a session as seamlessly as possible. I know how to do this for breakpoints, but does anyone know how to capture the set of variables open in the VE as well as their pane assignments and pane sizes? And conversely, how to restore the appearance of those panes at next startup?
If I can capture the list of variable names, I can simply loop over them in start.m with and call openvar for each, but that won't restore the panes.
댓글 수: 2
per isakson
2012년 4월 24일
I don't recognize the acronym "VE". Is that the name of a development environment?
답변 (3개)
Daniel Shub
2012년 4월 24일
Why not just suspend/hibernate your machine? You could also run MATLAB in a virtual machine and then suspend that machine.
댓글 수: 0
per isakson
2012년 4월 24일
I don't recognize the acronym "VE"
Use SAVE and LOAD to handle the variables in the base workspace.
list = who;
creates a list of the names of the variables. You have to save list somewhere.
[Desktop] in the menu bar and the [Save Layout] will save the ....
댓글 수: 0
Jim
2012년 4월 25일
댓글 수: 1
Daniel Shub
2012년 4월 25일
You really should make these into comments on the appropriate answers and add what you have found to the original question as an edit.
I still say go with MATLAB in a virtual machine. Also tell your sysadmins that you are running simulations that need to run overnight and that they can ...
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!