Is it possible to create a GUI table with number of rows and columns specified by the user?

2 Ansichten (letzte 30 Tage)
I want to create a GUI that asks user how many lines and columns he wants instead of the usual way (previously creating table in table editor).
Is there a way to do it?
Thanks!

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 21 Feb. 2013
Bearbeitet: Azzi Abdelmalek am 21 Feb. 2013
ask the user to enter nline and ncolumn
nline=10;
ncolumn=8:
set(handles.uitable1,'data',cell(nline,ncolumn))

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps 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!

Translated by