Hi,
I'm using MATLAB R2013a, when I try to zoom in/out in a figure Matlab produces an 'error' beep and also following error message on Command Window:
Error: File: zoom.m Line: 1 Column: 25
The input character is not valid in MATLAB
statements or expressions.
Error in putdowntext (line 121)
zoom(fig,'inmode');
Error while evaluating uitoggletool ClickedCallback
Thank you for any help.

 채택된 답변

Walter Roberson
Walter Roberson 2020년 5월 14일

0 개 추천

which -all zoom
If the first entry is not a Mathworks-supplied zoom.m, then rename it or otherwise get it off of your path.
If the first entry is a Mathworks-supplied zoom.m then edit it and look at the first line, and try to determine why the first line has an invalid character at column 25.

댓글 수: 1

Riccardo Carducci
Riccardo Carducci 2020년 5월 16일
편집: Riccardo Carducci 2020년 5월 18일
Thank you, there was a not Mathworks-supplied zoom.m, just removed from search path and it worked.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by