From: Furui on
Hi, there,

Is there anyway that I can use a external signal other than a constant value as the threshold of the switch biock in simulink?

Thanks.
From: ImageAnalyst on
On Nov 23, 3:59 pm, "Furui" <freewang1...(a)gmail.com> wrote:
> Hi, there,
>
> Is there anyway that I can use a external signal other than a constant value as the threshold of the switch biock in simulink?
>
> Thanks.

------------------------------------------------------------------------------------------------------------------
Probably. (I don't use simulink so I'm not sure)
I really like the instruments from Measurement Computing:
http://www.mccdaq.com/
You can use one of their numerous devices to detect and digitize all
kinds of signals. There are many documents in MATLAB Central saying
how to use them.
From: Guy Rouleau on
"Furui" <freewang1982(a)gmail.com> wrote in message <heet36$8u6$1(a)fred.mathworks.com>...
> Hi, there,
>
> Is there anyway that I can use a external signal other than a constant value as the threshold of the switch biock in simulink?
>
> Thanks.

No. To obtain this behavior use a Relative Operator block to do the comparison and set the switch threshold to !=0.