Controlled sourse by a control signal

1 view (last 30 days)
Hi,
I try to design a square wave oscilator. To do this,i need to commute two current sources (positive and negative). Is there in simulink any block like a current generator controlled by a control signal?. I mean, if the control signal value is '0' the generator is off, and if the control signal value is '1' the generator is on. If isn't exist this kind of block, any idea what can i do that?
Thanks in advance. Néstor

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 20 Feb 2013
Edited: Azzi Abdelmalek on 20 Feb 2013
You can use a switch block

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!