How do I let Matlab run the selected .mn file automatically in the MuPad notebook?

2 Ansichten (letzte 30 Tage)
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 Kommentar
Nikhil Sreekumar
Nikhil Sreekumar am 11 Jan. 2017
Bearbeitet: Nikhil Sreekumar am 11 Jan. 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
  • 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
Thanks
Nikhil

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by