- ensure that there are no files in the userpath (or at least no .m .mlx .mdl .slx .p .mex* .mlapp .project files)
- delete prefdir (it will be recreated next time) -- do this while MATLAB is not running
- be careful, something might have been saved to pathdef.m in toolbox/local/pathdef.m inside the installation directory.
- restoredefaultpath and then savepath
How can I get matlab back to the state it started in
2 次查看(过去 30 天)
显示 更早的评论
I am using my installation of matlab to generate guides and videos for our students using the software so each time, I need to be able to get matlab back to the state it starts in for the students i.e. as though it was making a fresh start with no variables, no functions, routines or scripts and the windows all set back to their original state.
Is there any way to do this other than reinstalling the software?
0 个评论
采纳的回答
Walter Roberson
2023-1-23
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!