Undefined function or variable 'eml_is_const'.

2 Ansichten (letzte 30 Tage)
Kai Zhang
Kai Zhang am 9 Okt. 2017
Beantwortet: Esther am 21 Aug. 2024
Undefined function or variable 'eml_is_const'.
  3 Kommentare
Walter Roberson
Walter Roberson am 9 Okt. 2017
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 am 8 Aug. 2024
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Esther
Esther am 21 Aug. 2024
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:

Kategorien

Mehr zu 输入命令 finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!