Trouble drawingpolyline in appdesigner
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Sampath Rachumallu
el 27 de Abr. de 2020
Editada: Sampath Rachumallu
el 30 de Abr. de 2020
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 comentarios
Sampath Rachumallu
el 29 de Abr. de 2020
Editada: Sampath Rachumallu
el 30 de Abr. de 2020
In the documentation it was specified.Check this link.
It was specified that input for drawpolyline can be 'axes' or 'uiaxes' object
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!