Matrix input in gui

17 次查看(过去 30 天)
Drew Jackson
Drew Jackson 2019-2-20
回答: ES 2019-2-21
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
Use UITABLE. It looks tabular and all properties (colums, rows, etc) can be modified from the callback of the popup!

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by