uitable set handles for logical

1 Ansicht (letzte 30 Tage)
sermet
sermet am 29 Apr. 2014
Beantwortet: Image Analyst am 29 Apr. 2014
%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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 29 Apr. 2014
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.

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