[etherlab-users] RTW Output Assertion

Florian Pose fp at igh-essen.com
Wed May 12 12:42:26 CEST 2010


Hi Bob,

On Tue, May 11, 2010 at 09:05:38AM -0700, Robert Hirsch wrote:
> Now that I have the output channels exposed, I'm attempting to set a
> value for one of the exposed channels.

Signals are not writable from outside the model, only parameters are.
If you want to 'override' a signal value, you can do this for example by
placing a switch and two constants in the model.  One for switching to
override mode and one with the override value.


   x--------x                x----------x
   | Block  |----------------| \        |
   x--------x                |  \       |
                             |   \      |
               x----------x  |    \     |
               | Override |--|     -----|-------------------
               x----------x  |          |
                             |          |
   x-----------------x       |          |
   | Override value  |-------|          |
   x-----------------x       x----------x

Be sure to set the swicth criterium to '~=0'.

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list