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

3 ビュー (過去 30 日間)
Jessica Velasquez
Jessica Velasquez 2016 年 6 月 18 日
回答済み: Walter Roberson 2016 年 6 月 18 日
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

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 6 月 18 日
Change
display(datos());
to
fprintf('datos(%d, %d) is\n', i, j);
display(s);

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by