From: Pete on
get_param(mymodel, 'value', edit1)

does not work, what do i use?

thanks
From: Guy Rouleau on
"Pete " <peterclark(a)hotmail.com> wrote in message <hphnlo$qt$1(a)fred.mathworks.com>...
> get_param(mymodel, 'value', edit1)
>
> does not work, what do i use?
>
> thanks


i see 2 possible ways to update a GUI with a Simulink signal:

1. Using a MATLAB-file s-function. In the s-function, you can call any MATLAB code, for example doing some "set" on the items in your GUI.

2. Event listener, see the following example:

http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/ug/f13-92122.html

hope this helps

Guy