필터 지우기
필터 지우기

some internal error while zooming any plot

조회 수: 2 (최근 30일)
Shruthi Gowda
Shruthi Gowda 2018년 7월 18일
답변: Simon Liljestrand 2019년 2월 13일
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
Shruthi Gowda
Shruthi Gowda 2018년 7월 18일
yes ....I get the same error even when I try to edit the plot
Shruthi Gowda
Shruthi Gowda 2018년 7월 18일
I'm getting this below error also
Reference to non-existent field 'Constraint'.
Error in zoom>localStartZoom (line 552)
zoom_constraint = hMode.ModeStateData.Constraint;
Error in zoom>@(~,~)localStartZoom(hMode) (line 502)
set(hMode,'ModeStartFcn',@(~,~)localStartZoom(hMode));
Error in hgfeval (line 62)
feval(fcn{1},varargin{:},fcn{2:end});
Error in matlab.uitools.internal.uimode/modeControl (line 16)
hgfeval(hThis.ModeStartFcn);
Error in matlab.uitools.internal.uimode/set.Enable (line 173)
obj.Enable = modeControl(obj,value);
Error in matlab.uitools.internal.uimodemanager>localSetMode (line 185)
set(newMode,'Enable','on');
Error in matlab.uitools.internal.uimodemanager/set.CurrentMode (line 111)
obj.CurrentMode = localSetMode(obj,value);
Error in activateuimode (line 27)
set(hManager,'CurrentMode',hMode);
Error in zoom>localSetZoomState (line 439)
activateuimode(hFig,'Exploration.Zoom');
Error in zoom (line 373)
localSetZoomState(hFigure,change_ui);
Error in putdowntext (line 145)
zoom(fig,'inmode');
Error while evaluating ToggleTool ClickedCallback

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

답변 (1개)

Simon Liljestrand
Simon Liljestrand 2019년 2월 13일
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.

카테고리

Help CenterFile Exchange에서 Manage Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by