- restoredefaultpath is intended only for situations where MATLAB is experiencing startup problems due to a corrupt search path. For general search-path clean up, use the rmpath function or the Set Path dialog box.
- rehash with no arguments updates the MATLAB list of known files and classes for directories on the search path that are not in matlabroot/toolbox
How do I let Matlab run the selected .mn file automatically in the MuPad notebook?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
After installing Matlab and the Symbolic Math Toolbox including the MuPad notebook, when I would run a MuPad-file (.mn extention), Matlab would run and open the MuPad notebook automatically. However, somehow I changed some file paths, and now I have to actively call the MuPad notebook in Matlab itself and select the appropiate MuPad notebook file, which is a slower process.
1 comentario
Nikhil Sreekumar
el 11 de En. de 2017
Editada: Nikhil Sreekumar
el 11 de En. de 2017
Hi Vic,
You mentioned that some paths were changed. may I know which all. Also, if those paths were changed accidentally, please try the following commands and see if this solves the issue.
% try rehash first, see if it solves the issue and then if you need to
% return to factory-installed state then use restoredefaultpath
>> rehash
>> restoredefaultpath
Thanks
Nikhil
Respuestas (0)
Ver también
Categorías
Más información sobre File Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!