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