how can i get Edit textbox value in loop?

when on runtime, i give value in edit textbox so i want that value used in loop. Like: if i give 5 in textbox so 5 images are shown how can i do this ?

2 Kommentare

Bruno Pop-Stefanov
Bruno Pop-Stefanov am 22 Jan. 2014
Update your figure in the callback for the edit text box. You can access the figure onto which you want to show images in the handles structure, provided that you added the figure to your GUI in GUIDE.
romasha
romasha am 23 Jan. 2014
didn't get this kindly illustrate me with a code snippet

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 22 Jan. 2014

0 Stimmen

When you get() the String property of the edit textbox, use str2double() to convert it to numeric form and use that number in your loop.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 22 Jan. 2014

Kommentiert:

am 23 Jan. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by