uitable set handles for logical

1 回表示 (過去 30 日間)
sermet
sermet 2014 年 4 月 29 日
回答済み: Image Analyst 2014 年 4 月 29 日
%I have a blank uitable in GUI. 3 columns and several rows.
%I wanna place checkbox in 3th column in this uitable.
% 1th column for string, 2th for numeric and 3th column for logical (checkbox).
%my datas are;
a={'p1'; 'p2'; 'p3'} %points id
b=[200;250;300] %distances
b=num2cell(b)
% for 3th column I wanna create blank checkbox (false) for these data into my uitable in GUI.

採用された回答

Image Analyst
Image Analyst 2014 年 4 月 29 日
You can create it in GUIDE and then look at the source code it created to build the grid. If you don't want to continue using GUIDE for some reason and want to do it the hard way and build it yourself, then you'll have to copy over the code where it sets up the grid. Or else slog through the uitable() documentation.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by