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.
No. To obtain this behavior use a Relative Operator block to do the comparison and set the switch threshold to !=0.