Why do I see the error "readonly Error: Unexpected MATLAB expression. workspacefunc 287" when clicking "Edit" and trying to copy a figure?
조회 수: 2 (최근 30일)
이전 댓글 표시
When I click the "Edit" in the Tools bar of a figure dialog, the following Error pops out and I can not copy the figure. What's the problem? How to solve it? Thank you very much!
댓글 수: 0
채택된 답변
Dan Nguyen
2015년 5월 6일
편집: Dan Nguyen
2015년 5월 6일
Hi Nan,
Are you using CERR by chance? I had this exact problem when I switched to 2015a and it turned out that MATLAB and CERR both have a function named 'strsplit.m'. MATLAB is unknowingly calling on CERR's version instead.
I fixed this by renaming CERR's strsplit to something else.
If you're not using CERR, check if you have any outside functions using these names:
builtin
strjoin
strsplit
MATLAB has its own internal functions using these. Any outside functions with the same name would cause the error you see.
Hope that helps.
Dan
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!