Why won't my new live script run? It isn't throwing any errors

16 ビュー (過去 30 日間)
Tom
Tom 2016 年 4 月 20 日
コメント済み: Gauthier 2016 年 9 月 15 日
I'm experimenting with the new live scripting capability. I like it's potential, but this morning it is refusing to run either a section or the full script. I get no output or error messages or icons. I only hear the system error sound. Even a new script such as the following produces this result.
fprintf('hello world')
  2 件のコメント
Steven Lord
Steven Lord 2016 年 4 月 20 日
After executing your live script and hearing the error sound, what do you see when you execute the following command in the Command Window?
>> MException.last
Tom
Tom 2016 年 4 月 21 日
It outputs the following:
MException with properties:
identifier: 'MATLAB:UndefinedFunction'
message: 'Undefined function or variable 'matlab.internal.edi'
cause: {}
stack: [0x1 struct]
The message in full is:
Undefined function or variable 'matlab.internal.editor.FigureManager.disableCaptureFigures'.

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

回答 (1 件)

Zakary Wilde
Zakary Wilde 2016 年 5 月 18 日
I had the same error and this worked for me.
restoredefaultpath
rehash toolboxcache
savepath
  1 件のコメント
Gauthier
Gauthier 2016 年 9 月 15 日
Thanks, I had the same problem and it worked for me too !

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by