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

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!

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 21일
편집: Azzi Abdelmalek 2013년 2월 21일
ask the user to enter nline and ncolumn
nline=10;
ncolumn=8:
set(handles.uitable1,'data',cell(nline,ncolumn))

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Elementary Math에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by