> -----Original Message-----
> Subject: Re: UI element
> thank you for answer
> i want similar this:
> https://gyazo.com/d77c1ef2b7880579a11b32c37fbb9e3a >
> i put number in a, b and c and after i touch "press "
> i want to read variable a , b and c
For the code in your original post:
s = get(e1, 'string')
will return the edited string in the textbox. Similarly
v = get(c1, 'value')
will return the checkbox state( 0 or 1). (Type "get(c1)" to see all of the checkbox properties.)
This would allow you to poll the gui elements looking for changes. You don't usually want to use this method though. Instead you would define a callback function that is automatically run whenever the gui element is changed. There are several Octave GUI examples here:
http://ss2.eecs.umich.edu/matlab/ulaby_matlab.html That may help you get further.