Prev: Error :"In an assignment A(I) = B, the number of elements in B and I must be the same."
Next: MATLAB startup errors
From: Furui on 23 Nov 2009 15:59 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 23 Nov 2009 16:07 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 23 Nov 2009 18:33
"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. |