Undefined function or variable 'eml_is_const'.

조회 수: 20 (최근 30일)
Kai Zhang
Kai Zhang 2017년 10월 9일
답변: Esther 2024년 8월 21일
Undefined function or variable 'eml_is_const'.
  댓글 수: 3
Walter Roberson
Walter Roberson 2017년 10월 9일
This error has something to do with code generation; in some circumstances eml_is_const is used inside the versions of functions such as random() that are used as the basis of code generation. At the moment I have no information about where eml_is_const should have been defined.
Sri Adiyanti
Sri Adiyanti 2024년 8월 8일
Hi,
I have encountered similar problem with eml_is_const using MATLAB ver 2024a. But it works fine with older version MATLAB 2023a. Not sure if it's something to do with stat and machine learning toolbox compatibility or something else.

댓글을 달려면 로그인하십시오.

답변 (1개)

Esther
Esther 2024년 8월 21일
This issue appears to be related to a path conlict, please attempt to restore the default path using the following commands:
>> restoredefaultpath
>> rehash toolboxcache
To persist these changes to the MATLAB path, use the "savepath" command.
Before persisting the path changes with "savepath", consider backing up any custom paths by following the instructions in the MATLAB Answers post linked below:

카테고리

Help CenterFile Exchange에서 输入命令에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!