Loaded Assembly Cannot Be Found

1 回表示 (過去 30 日間)
Natalie E
Natalie E 2017 年 10 月 2 日
コメント済み: Natalie E 2017 年 10 月 26 日
I added an assembly (NET.addAssembly) and in my code it works when I highlight it and press F9, but if i run it via the script (stepping via debugger) it gives me an "undefined function or variable" error. I'm trying to call a static method.
  2 件のコメント
Jim Joy
Jim Joy 2017 年 10 月 5 日
編集済み: Jim Joy 2017 年 10 月 5 日
Hi Natalie,
When you are stopped in the debugger, if execute the command below (where < method > is your static method's name), what is the output?
which -all <method>
Natalie E
Natalie E 2017 年 10 月 26 日
It just says 'not found'.
I'm still having the same - I added the assembly, and now i'm trying to use static methods from that assembly in multiple functions in the same m script, and no matter how I initialize it I keep getting an undefined error for the assembly. I can see that its in the loaded assemblies.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by