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

Answers (1)

Walter Roberson
Walter Roberson on 30 Mar 2011

0 votes

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

This question is closed.

Tags

Asked:

on 30 Mar 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!