Is there anyway to modify a matlab app component to fit my needs?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I need a compass-like component for my application. The "Heading Indicator" component almost fits my needs but I would need to modify it. I would need a different icon that is not a plane and I would need said indicator to rotate instead of the coordinates.
0 commentaires
Réponses (1)
Venkat Siddarth Reddy
le 22 Mai 2024
Modifié(e) : Venkat Siddarth Reddy
le 22 Mai 2024
Hi Paulo,
I don't think you can change the icon of the "heading indicator" since this is a component in Aerospace Toolbox for displaying measurements for "aircraft heading (in degrees)".
However, if you are looking for a compass with pointer as the icon, then I think you can checkout the compass feature of MATLAB:
u = [5 3 -4 -3 5];
v = [1 5 3 -2 -6];
compass(u,v)
compass(U,V) plots arrows originating from the point (0, 0). Specify the direction of arrows using the Cartesian coordinates U and V, with U indicating the x-coordinates and V indicating the y-coordinates.
To learn more about the compass function,please refer to the following documentation:
Hope it helps!
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!