Create a 3*m matrix in app designer
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Gaetano Pavone
am 20 Mär. 2020
Beantwortet: Harsha Priya Daggubati
am 23 Mär. 2020
I would like to define an editable 3*m matrix in app designer programmatically defined by users.
Once defined the parameter m in an editable field (numeric), the app automatically generates an editable 3*m matrix.
How can I do this?
I don't know how it is possible to define an editable matrix with predefined size.
2 Kommentare
Rik
am 20 Mär. 2020
If you know that last part, what exactly is your issue? It shouldn't be too difficult to have a callback that would use that method to create a matrix with the size your user supplies.
Akzeptierte Antwort
Harsha Priya Daggubati
am 23 Mär. 2020
Hi,
I can comeup with the following workflow for your question:
- In the callback of the editfield, you can create a table of size 3*m with editable property set.
- Since the table is editable, user can therefore edit the fields.
- You can create an apply button, and in its callback you can read the table data.
These documentation pages might help you work with tables:
https://in.mathworks.com/help/matlab/creating_guis/display-an-interactive-table-in-app-designer.html
Hope this will work for you!
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!