Matrix input in gui

9 vues (au cours des 30 derniers jours)
Drew Jackson
Drew Jackson le 20 Fév 2019
Réponse apportée : ES le 21 Fév 2019
My program should have an interface where the user can choose the size of a square matrix from a popup menu, for example. According to that size, a table or a matrix-like structure should change its size in real time when a value is chosen from the menu. After the user inputs the values the matrix should be stored.
I just started to learn matlab and i stumbled upon what elements to use in order to visually recreate a matrix looking structure and how to make the connection between those elements and a popup menu. I would be very grateful if someone would give me some tips.

Réponses (1)

ES
ES le 21 Fév 2019
Use UITABLE. It looks tabular and all properties (colums, rows, etc) can be modified from the callback of the popup!

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!

Translated by