Undefined variable "internal" or class while generating a TODO/FIXEME report

2 ビュー (過去 30 日間)
Hello everybody,
I have recently switched (from Matlab 2015) to Matlab 2017 and there is something which I would like to ask for any clue! I have a code which is automatically generating a TODO/FIXME report. It works in Matlab 2015 but in Matlab 2017 I have faced this message and it doesn't work.
"Warning: Executing startup failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should
be resolved as soon as possible. Error detected was:
MATLAB:undefinedVarOrClass
Undefined variable "internal" or class
"internal.matlab.codetools.reports.displayLoadingMessage"."
and this is because of this line which is responsible for generating loading message:
internal.matlab.codetools.reports.displayLoadingMessage(reportName);
would be thankful for any idea!
  1 件のコメント
per isakson
per isakson 2017 年 11 月 30 日
編集済み: per isakson 2017 年 11 月 30 日
I assume, TODO/FIXME is called by startup.m
I guess, your Matlab search path has been corrupted. See Path Unsuccessfully Set at Startup

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

採用された回答

Walter Roberson
Walter Roberson 2017 年 11 月 30 日
That tool is now at
internal.matlab.reports.displayLoadingMessage
instead of
internal.matlab.codetools.reports.displayLoadingMessage
You probably have an old version of dofixrpt.m on your MATLAB path and being run in your matlabrc
  1 件のコメント
Amirhossein Rahimi
Amirhossein Rahimi 2017 年 11 月 30 日
編集済み: Amirhossein Rahimi 2017 年 11 月 30 日
Thank you very much, Walter. Now it works :)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by