필터 지우기
필터 지우기

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

조회 수: 1 (최근 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 CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by