How to restore overloaded doc function?
古いコメントを表示
Hi,
I foolishly defined a variable called 'doc' in a Matlab script, which was left in the workspace after the script executed. I then attempted to use the 'doc' function to access the Matlab documentation. I get only an HTML version of the Matlab help contents, and those links don't seem to be active. Does anyone know how to bring the 'doc' function and Matlab help back to life?
Thanks for any suggestions. Bob
1 件のコメント
回答 (2 件)
Wayne King
2013 年 12 月 2 日
編集済み: Wayne King
2013 年 12 月 2 日
I share Jan's puzzle as well, I would have expected a message like:
"Error: "doc" was previously used as a variable, conflicting with its use here as the name of a function or command."
but can't you just clear that variable
clearvars doc
Then if you enter
which doc
You should get something ending in
matlab\toolbox\matlab\helptools\doc.m
Robert
2013 年 12 月 2 日
0 投票
2 件のコメント
Sean de Wolski
2013 年 12 月 3 日
Does restarting MATLAB fix it? If not, contact support.
Robert
2013 年 12 月 3 日
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

