Borrar filtros
Borrar filtros

I need to know if there are a uitable positions empty in a guide table

1 visualización (últimos 30 días)
I need to know if there are a uitable positions empty in a guide table I've tried with different code like isempty
datos=get(hObject,'data');
for i=1:4
for j=1:4
s=datos(i,j);
if(isempty(s))
display('no value');
else
display(datos());
end
end
end

Respuestas (1)

Walter Roberson
Walter Roberson el 18 de Jun. de 2016
Change
display(datos());
to
fprintf('datos(%d, %d) is\n', i, j);
display(s);

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by