eml_transient is not defined function

2 次查看(过去 30 天)
Jiho
Jiho 2016-12-22
评论: Yan 2023-10-14
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 个评论
Yan
Yan 2023-10-14
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.

请先登录,再进行评论。

回答(1 个)

John D'Errico
John D'Errico 2016-12-22
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.

类别

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