Matlab error: readonly workspacefunc 350

8 visualizaciones (últimos 30 días)
Mark Wright
Mark Wright el 29 de Sept. de 2017
Comentada: Gemeng Zhang el 17 de Dic. de 2020
Hi, We're having a problem with a Matlab error in Matlab 2017a. Whenever we try to view a variable in the workspace, by double clicking on the variable in the Workspace panel, it opens the variable in a new window and displays an error message. The error message is entitled 'Variables' and reads 'readonly Error: Unexpected MATLAB expression. workspacefunc 350'. I can't interact with the variable window until I select ok. It also occurs when I open any variables within variables and periodically reappears if you leave variables open. Does anyone know how to solve this? Thanks.

Respuesta aceptada

Jatin Waghela
Jatin Waghela el 3 de Oct. de 2017
Editada: Walter Roberson el 3 de Oct. de 2017
This error is usually caused by having user-defined functions by the name "builtin", "strjoin" or "strsplit".
If that is the case, these functions shadow built-in MATLAB functions resulting in this error. Try executing:
which -all builtin
which -all strjoin
which -all strsplit
to see if there are any user defined functions by this name. Renaming the user defined functions by these names should resolve the issue.
Also, refer to the below MATLAB Answers link which talks about a similar issue:
  2 comentarios
Samwoo Seong
Samwoo Seong el 8 de Abr. de 2020
Thank you!
Gemeng Zhang
Gemeng Zhang el 17 de Dic. de 2020
Thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by