Thread Subject: can I use a external signal as the threshold of the switch?

Subject: can I use a external signal as the threshold of the switch?

From: Furui

Date: 23 Nov, 2009 20:59:18

Message: 1 of 3

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.

Subject: can I use a external signal as the threshold of the switch?

From: ImageAnalyst

Date: 23 Nov, 2009 21:07:20

Message: 2 of 3

On Nov 23, 3:59 pm, "Furui" <freewang1...@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.

Subject: can I use a external signal as the threshold of the switch?

From: Guy Rouleau

Date: 23 Nov, 2009 23:33:04

Message: 3 of 3

"Furui" <freewang1982@gmail.com> wrote in message <heet36$8u6$1@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.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
simulink switch Furui 23 Nov, 2009 15:59:26
rssFeed for this Thread

Contact us at files@mathworks.com