フィルターのクリア

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 Center および File ExchangeManage Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by