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.

 采纳的回答

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 个评论

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