error " Unexpected matlab expression workspacefunc 329"

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!

 Réponse acceptée

Marc Jakobi
Marc Jakobi le 6 Oct 2016
Modifié(e) : Walter Roberson le 6 Oct 2016

3 votes

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.

Plus de réponses (1)

Cassie xia
Cassie xia le 9 Avr 2018

0 votes

Thank you a lot!

Catégories

En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by