Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Matlab Error: Some Commands and Functions not working

Desmond Leung updated April 12, 2013 at 6:29 PM


Questions Addressed

  • What do I do if some commands (e.g., BENCH, DEMO, PEAKS) or functions produce errors or foreign character sets? What do I do if some commands (e.g., BENCH, DEMO, PEAKS) or functions produce errors or foreign character sets?


Since MATLAB copies all the preferences from the previous release to the new preference directory, the issue is caused because MATLAB is unable to find these functions.

Restore and Update Paths

Wiki Markup The fix for this issue is to execute commands that will restore the path to default and update the toolbox cache.

1. Open MATLAB.

2. In the command window, type the following commands one at a time: >>restoredefaultpath \\ \\ >>rehash toolboxcache \\ \\ >>savepath \\ \\ \\ \\ 3. Quit and reopen MATLAB. \\ \[Contact IGPP Help Desk / Network Operations\] \\

Questions Addressed

  • What do I do if some commands (e.g., BENCH, DEMO, PEAKS) or functions produce errors or foreign character sets? What do I do if some commands (e.g., BENCH, DEMO, PEAKS) or functions produce errors or foreign character sets?

Since MATLAB copies all the preferences from the previous release to the new preference directory, the issue is caused because MATLAB is unable to find these functions.

Restore and Update Paths

Wiki Markup The fix for this issue is to execute commands that will restore the path to default and update the toolbox cache. 1. Open MATLAB. 2. In the command window, type the following commands one at a time: >>restoredefaultpath \\ \\ >>rehash toolboxcache \\ \\ >>savepath \\ \\ \\ \\ 3. Quit and reopen MATLAB. \\ \[Contact IGPP Help Desk / Network Operations\]

Code Block
>>restoredefaultpath
>>rehash toolboxcache
>>savepath

3. Quit and reopen MATLAB.


If you need further assistance, pleaseĀ contact IGPP NET Ops.