Clear Filters
Clear Filters

eml_transient is not defined function

4 views (last 30 days)
Jiho
Jiho on 22 Dec 2016
Commented: Yan on 14 Oct 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 Comment
Yan
Yan on 14 Oct 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.

Sign in to comment.

Answers (1)

John D'Errico
John D'Errico on 22 Dec 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.

Community Treasure Hunt

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

Start Hunting!