Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »



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

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

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]

  • No labels