error " Unexpected matlab expression workspacefunc 329"

2 views (last 30 days)
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!

Accepted Answer

Marc Jakobi
Marc Jakobi on 6 Oct 2016
Edited: Walter Roberson on 6 Oct 2016
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.

More Answers (1)

Cassie xia
Cassie xia on 9 Apr 2018
Thank you a lot!

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!