Matrix input in gui

21 views (last 30 days)
Drew Jackson
Drew Jackson on 20 Feb 2019
Answered: ES on 21 Feb 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.

Answers (1)

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

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!