App Designer - error using the function 'drawpoint' :

4 vues (au cours des 30 derniers jours)
Lavanya Baskaran
Lavanya Baskaran le 26 Oct 2020
Hi all,
I am working on App Designer, and found a issue with the function 'drawpoint'. Initially I was using MATLAB 2019b, in which i got the below error when using 'drawpoint' property 'LabelAlpha'.
Unrecognized property 'LabelAlpha' for class 'images.roi.Point'.
Then I downloaded MATLAB 2020b, thinking it might be MATLAB version issue, but now I get the below error:
Undefined function 'drawpoint' for input arguments of type 'matlab.ui.control.UIAxes'.
This is my code :
roi = drawpoint(app.UIAxes2,'Color','g');
Pon = roi.Position;
roi.Label = num2str(Pon,3);
roi.LabelAlpha = 0;
Not sure of what is the problem. Awaiting your help.
Thank you.

Réponses (0)

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by