フィルターのクリア

Trouble drawingpolyline in appdesigner

3 ビュー (過去 30 日間)
Ivan Silva
Ivan Silva 2020 年 4 月 27 日
編集済み: Sampath Rachumallu 2020 年 4 月 30 日
Hello,
I have a child axes of an uifigure, when I execute the drawpolyline(app.myaxe) Matlab give me the follow error n times, i think, same times mouse move.
Warning: Error occurred while executing the listener callback for event WindowMouseMotion defined for class
matlab.ui.Figure:
Error using matlab.ui.Figure/set
Functionality not supported with figures created with the uifigure function. For more information, see Graphics Support
in App Designer.
Error in images.roi.internal.setROIPointer
Error in images.roi.internal.IPTROIPointerManager/motionCallback
Error in images.roi.internal.IPTROIPointerManager>@(src,evt)self.motionCallback(src,evt)
Error in uiwait (line 81)
waitfor (hFigDlg, 'WaitStatus', 'inactive');
Error in images.roi.internal.ROI/draw
Error in drawpolyline (line 153)
h.draw;
Error in Background/Barradi (line 310)
drawpolyline(app.GRAFICO3D1)
Error in appdesigner.internal.service.AppManagementService/tryCallback (line 330)
callback(app, event);
Error in
matlab.apps.AppBase>@(source,event)tryCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event)
I tried drawpolyline in uiaxes but give me error not supported, i have 2018b version. Help me please. Thanks.

回答 (1 件)

Sampath Rachumallu
Sampath Rachumallu 2020 年 4 月 27 日
編集済み: Sampath Rachumallu 2020 年 4 月 30 日
I think drawpolyline functionality for uiaxes has been recently added (r2020a). I am using r2019a and i got following.error:
Functionality not supported with UIAxes. For more information, see Graphics Support in App Designer.
Error in images.roi.internal.ROI/extractInputNameValue
Error in images.roi.internal.ROI/parseInputs
Error in images.roi.Polyline
Refer documentation of drawpolyline here.
It was specified that input for drawpolyline can be 'axes' or 'uiaxes' object
  2 件のコメント
Ivan Silva
Ivan Silva 2020 年 4 月 29 日
Thanks Sampath Rachumallu, do you know how i can confirm that drawpolyline has been added in r2020a?
Sampath Rachumallu
Sampath Rachumallu 2020 年 4 月 29 日
編集済み: Sampath Rachumallu 2020 年 4 月 30 日
In the documentation it was specified.Check this link.
It was specified that input for drawpolyline can be 'axes' or 'uiaxes' object

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

カテゴリ

Help Center および File ExchangeDevelop uifigure-Based Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by