Matlab error: readonly workspacefunc 350

조회 수: 14 (최근 30일)
Mark Wright
Mark Wright 2017년 9월 29일
댓글: Gemeng Zhang 2020년 12월 17일
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.

채택된 답변

Jatin Waghela
Jatin Waghela 2017년 10월 3일
편집: Walter Roberson 2017년 10월 3일
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
Samwoo Seong
Samwoo Seong 2020년 4월 8일
Thank you!
Gemeng Zhang
Gemeng Zhang 2020년 12월 17일
Thanks

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by