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

3 vues (au cours des 30 derniers jours)
Jessica Velasquez
Jessica Velasquez le 18 Juin 2016
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

Réponses (1)

Walter Roberson
Walter Roberson le 18 Juin 2016
Change
display(datos());
to
fprintf('datos(%d, %d) is\n', i, j);
display(s);

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by