フィルターのクリア

Error when opening property inspector in 2022a

26 ビュー (過去 30 日間)
Jonas
Jonas 2022 年 4 月 27 日
編集済み: Tobias Vomstein 2023 年 4 月 27 日
dear community,
when i open my property inspector from the menue of a figure, i get the following error
Dot indexing is not supported for variables of this type.
Error in matlab.graphics.internal.propertyinspector.PropertyInspectorManager>@(x)x.ModeManager.CurrentMode.Name=="Standard.EditPlot" (line 112)
'-function', @(x) x.ModeManager.CurrentMode.Name == "Standard.EditPlot",...
Error in matlab.graphics.internal.propertyinspector.PropertyInspectorManager.removeFigureDTClientListenersIfNeeded (line 111)
allFigures = findobj(0,'-depth',1,'type','figure',...
Error in matlab.graphics.internal.propertyinspector.PropertyInspectorManager/temporarilyStopInspectorListeners (line 347)
this.removeFigureDTClientListenersIfNeeded();
Error in matlab.graphics.internal.propertyinspector.propertyinspector (line 93)
hInspectorMgnr.temporarilyStopInspectorListeners();
Error in matlab.graphics.internal.propertyinspector.propertyinspector (line 19)
matlab.graphics.internal.propertyinspector.propertyinspector('show');
Error in viewmenufcn (line 52)
matlab.graphics.internal.propertyinspector.propertyinspector('toggle');
i recently upgraded from 2021a to 2022a, in the old version this did not happen.
i attached the figure if this is needed
best regards
Jonas
  2 件のコメント
Image Analyst
Image Analyst 2022 年 4 月 27 日
It works for me with your figure in r2022a.
Jonas
Jonas 2022 年 4 月 27 日
yes, i tried also another figure and there the error persists
what ever, after restarting matlab, the problem is gone now. Weird. Reminds me of the problem where the property inspector could not switch its target anymore until matlab was restarted.

サインインしてコメントする。

採用された回答

Jonas
Jonas 2022 年 4 月 27 日
from the comments:
i tried also another figure and there the error persists (or persisted)
what ever, after restarting matlab, the problem is gone now. Weird. Reminds me of the problem where the property inspector could not switch its target anymore until matlab was restarted.

その他の回答 (1 件)

Tobias Vomstein
Tobias Vomstein 2023 年 4 月 27 日
編集済み: Tobias Vomstein 2023 年 4 月 27 日
Hi, I had the same issue with Matlab R2022b and R2023a when trying to open property inspector from command line or via figure toolbar button (figure opene using figure, not uifigure). As a workaround I just fixed it (caution: admin rights required) by adding a non-empty check in that function callback:
'-function', @(x) ~isempty(x.ModeManager.CurrentMode) && x.ModeManager.CurrentMode.Name == "Standard.EditPlot",...

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by