some internal error while zooming any plot
Show older comments
Hi, I'm encountering the below error when I try to zoom any plots. can anyone tell how to overcome this error . I'm using matlab R2016a
Error in ispref (line 45)
exists = logical(exists);
Error in addpref (line 28)
if any(ispref(group, pref))
Error in getpref (line 99)
addpref(group, prefCell{i}, defaultCell{i});
Error in zoom>locGetMode (line 507)
hMode.ModeStateData.DoRightClick = getpref('MATLABZoom','RightClick','off');
Error in zoom (line 247)
hMode = locGetMode(hFigure);
Error in putdowntext (line 145)
zoom(fig,'inmode');
Error while evaluating ToggleTool ClickedCallbackerr
3 Comments
Jan
on 18 Jul 2018
Very strange. This part of the message tells exactly, where the problem occurs, but not what the problem is. Is this really the complete message?
Shruthi Gowda
on 18 Jul 2018
Shruthi Gowda
on 18 Jul 2018
Answers (1)
Simon Liljestrand
on 13 Feb 2019
0 votes
I had more or less the same error message, and in my case it turned out to be due to how I had named files in my directory. More specifically, I had an .m file called "zoom.m" in the directory, and that filename was probably causing conflict with internal functions.
Categories
Find more on Data Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!