GUI-StatcText

Hey friends I have statictextbo and count is more more than 40 so is this possible...Because if ? can not do it with for...then I have to write this code for all statictextbox...its painful and harmful...how can solve this problem...cos I named all textboxex like that..
for ex; static1 static2 static3
for i=1:40
set(strcat('staticbox','i'),'String',num2str(i));
end

답변 (1개)

Walter Roberson
Walter Roberson 2011년 3월 30일

0 개 추천

There are other ways to handle that. Please see the FAQ on this matter.

이 질문은 마감되었습니다.

태그

질문:

2011년 3월 30일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by