eml_transient is not defined function

3 ビュー (過去 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 Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by