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

조회 수: 3 (최근 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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by