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

Respuestas (1)

Walter Roberson
Walter Roberson el 30 de Mzo. de 2011

0 votos

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

La pregunta está cerrada.

Etiquetas

Preguntada:

el 30 de Mzo. de 2011

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by