Creating a Checkbox without GUI
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi!
I would like to know wether it is possible to create a checkbox without working in a GUI. I wrote a script for data analysis and would like to add a checkbox request afterwards.
Thanks, Maritn
0 commentaires
Réponses (1)
Walter Roberson
le 3 Juil 2015
In MATLAB, "GUI" and "figure" are the same thing, so anything graphical you create is inside a GUI. In order to create a check box without a GUI it would have to be pure text. After that the feasibility starts to depend on how you want it to be used; for example if you are working with pure text then you do not have access to mouse positioning to tell whether the user moved over the text checkbox, because mouse positioning is a graphics object.
You can create a graphical checkbox without having to use GUIDE, by creating a uicontrol('style','checkbox'), but by definition a uicontrol is a user interface control that is part of a GUI.
0 commentaires
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps 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!