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