Matrix input in gui

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.

回答(1 个)

ES
ES 2019-2-21

0 个投票

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

类别

帮助中心File Exchange 中查找有关 Matrix Indexing 的更多信息

回答:

ES
2019-2-21

Community Treasure Hunt

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

Start Hunting!

Translated by