Data between 2 diferent windows

10 ビュー (過去 30 日間)
Renato de Sá
Renato de Sá 2011 年 7 月 28 日
I want to open a GUI window asking how many lines would the person like to work with, and after that another window (a table one) would appear with an editable (x,4) matrice. How can I do that?

採用された回答

Oleg Komarov
Oleg Komarov 2011 年 7 月 28 日
% Ask for the number of rows
out = inputdlg('How many rows?');
% You should fill the uitable no matter what (I chose zeros)
dat = zeros(str2double(out{1}),4);
% Create uitable (up to you all the other settings)
t = uitable('data',dat,'ColumnEditable',true(1,4));

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by