eml_transient is not defined function

2 Ansichten (letzte 30 Tage)
Jiho
Jiho am 22 Dez. 2016
Kommentiert: Yan am 14 Okt. 2023
Hi, I made some program and it works well when I made first in USA. Now I've came back to my country, Korea, and installed same version of matlab R2015b that I used in USA.
But when I run my code, it said 'eml_transient' is not valid or definite function. This function is in eml_assert_all_constant.m file. Also I already checked my toolbox path.
How can I solve this problem?
  1 Kommentar
Yan
Yan am 14 Okt. 2023
Hi Jiho, could I know how you solved this problem? I would appreciate it! I have the similar question as you. It really confuses me.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

John D'Errico
John D'Errico am 22 Dez. 2016
We don't know what the file eml_assert_all_constant.m contains, not how you are trying to use it.
You cannot call a sub-function from outside of the main function. (Well, without using function handles, and if you don't know what is happening here, then you don't know how to use function handles.) You cannot have a function defined inside a script. There are probably other things you might have done, but we don't know, because we don't know what that file contains except by your vague assertion.

Kategorien

Mehr zu Startup and Shutdown 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!

Translated by