Trouble drawingpolyline in appdesigner

조회 수: 2 (최근 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 CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by