Why do I receive the error "execution of script get as a function is not supported"?

16 ビュー (過去 30 日間)
Heaven Head
Heaven Head 2022 年 5 月 17 日
コメント済み: Rik 2022 年 5 月 18 日
I am running into the issue with a bigger script, but my imshow function doesn't seem to be working properly even after uninstalling and re-installing multiple times. I tried to resolve the error by going into the imshow function and changing 'get' to 'getElement' because there were multiple 'get' scripts, and the script itself says it is an alias for 'getElement'. However, this does not fix the problem even though there is only one 'getElement' function. Am I overlooking something? What is happening? Edit: I am also seeing this error with other functions being recognized as scripts instead of functions. Using 'clear all' returns the same error message for 'clear', and several situations comeback with the same message for 'findall' function.
  3 件のコメント
Heaven Head
Heaven Head 2022 年 5 月 17 日
Yes, but I don't think this is the problem because I am reaching the same error with 'getElement' and there is for sure only 1 of those
Rik
Rik 2022 年 5 月 18 日
Did you try removing that from the path? It is not a good idea to shadow such an important function.

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

回答 (0 件)

カテゴリ

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by