error " Unexpected matlab expression workspacefunc 329"

3 ビュー (過去 30 日間)
Tianqi Zhang
Tianqi Zhang 2016 年 10 月 6 日
Hi,
Anyone who has the same experience with this error " Unexpected matlab expression workspacefunc 329". I met it every time I run some code or click some file in workspace. What kind of problem it might be???
Thanks!

採用された回答

Marc Jakobi
Marc Jakobi 2016 年 10 月 6 日
編集済み: Walter Roberson 2016 年 10 月 6 日
It probably means you have a function somewhere that "shadows" a built in Matlab function, i.e. that has the same name as a built in function.
Try typing "which functionname -all" (without the quotes) in the workspace.
Instead of functionname, type in one of these functions:
  • strsplit
  • builtin
  • strjoin
If it shows more than one path for any of the functions, you know you have a duplicate function that may be causing a conflict.
  1 件のコメント
Tianqi Zhang
Tianqi Zhang 2016 年 10 月 6 日
Hi Marc,
It works! Thanks a lot!

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

その他の回答 (1 件)

Cassie xia
Cassie xia 2018 年 4 月 9 日
Thank you a lot!
  1 件のコメント
ahsana parammal vatteri
ahsana parammal vatteri 2019 年 1 月 30 日
It worked for my problem too! Thanks Marc.

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

カテゴリ

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