How do I enter more than four rows in a GUI?
Mostrar comentarios más antiguos
I place the table in GUI and by default it gives me only 4 rows and 2 columns. I tries changing the number of rows by inserting more rows in Table Properties. But, it does not reflet in the GUI. Can anyone help me with this?
Thanks.
Respuesta aceptada
Más respuestas (2)
Azzi Abdelmalek
el 27 de Jul. de 2012
Editada: Azzi Abdelmalek
el 27 de Jul. de 2012
at the end of the opening function (function yourprog_OpeningFcn(hObject, eventdata, handles, varargin)): add this code
n=10;m=5; % for example
set(handles.uitable,'Data',cell(n,m)) % uitable is the tag of your table
Rinachi Garg
el 27 de Jul. de 2012
0 votos
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!