uitable set handles for logical

1 visualización (últimos 30 días)
sermet
sermet el 29 de Abr. de 2014
Respondida: Image Analyst el 29 de Abr. de 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.

Respuesta aceptada

Image Analyst
Image Analyst el 29 de Abr. de 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.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by