フィルターのクリア

why are MATLAB build-in functions suddenly undefined??

8 ビュー (過去 30 日間)
Adam Zabicki
Adam Zabicki 2016 年 9 月 13 日
コメント済み: Star Strider 2016 年 9 月 13 日
hello, suddenly, i did ot changed anything, some MATLAB build in functions (in my case "colormap" and "ylim") does not work anymore.... the .m-files are still in place and the path is set correctly.
any ideas??
best, adam
  4 件のコメント
John D'Errico
John D'Errico 2016 年 9 月 13 日
編集済み: John D'Errico 2016 年 9 月 13 日
And just to be clear, if you use the path command, it will list the graph3d directory as one of the directories on your path? For example, on my machine, I would see this as part of my search path:
.../MATLAB_R2016a.app/toolbox/matlab/graph3d/
If that is true, then the first thing I'd do is check your drive, using whatever disk checking utility you have available. Verify that it has not become corrupted. I'd verify the disk permissions for that directory to see if they had been changed in some way.
Adam Zabicki
Adam Zabicki 2016 年 9 月 13 日
yes, the folder is the search path. ok, i'll perform chkdsk on my windows-drive...

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2016 年 9 月 13 日
Try typing these in your Command Window:
restoredefaultpath
rehash toolboxcache
If those don’t work to give you access to the built-in functions, contact MathWorks Tech Support.
  4 件のコメント
Adam Zabicki
Adam Zabicki 2016 年 9 月 13 日
i'll bookmark this page :)
Star Strider
Star Strider 2016 年 9 月 13 日
That works. Another option is to copy those two commands to a .m file with an easy-to-find, descriptive file name, then running the file when the need arises. That’s what I do with some configuration commands I occasionally need to run.
If you can’t run the file for whatever reason, you can just open it in the Editor and copy and paste the commands to your Command Window and run them from there.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePurple についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by