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.

 Accepted Answer

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 Comment

Riccardo Carducci
Riccardo Carducci on 16 May 2020
Edited: Riccardo Carducci on 18 May 2020
Thank you, there was a not Mathworks-supplied zoom.m, just removed from search path and it worked.

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!