Trouble drawingpolyline in appdesigner
1 次查看(过去 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.
0 个评论
回答(1 个)
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 个评论
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 Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!