Filter löschen
Filter löschen

Output switch in Simulink

1 Ansicht (letzte 30 Tage)
Abi Murali
Abi Murali am 24 Jul. 2012
Hello,
I am new to using Simulink and hence, this question might be too simple for some of you.
I want to design a switching circuit using Simulink/Matlab. I have a signal that I am reading in from a NI DAQ and would like to send it out through 1/4 ports on the same DAQ. The signal needs to be switched to the ports in a timed fashion and the choice of the output port needs to be randomized. What would be the easiest way to design such a switching system?
Thanks Abi

Akzeptierte Antwort

Ryan G
Ryan G am 24 Jul. 2012
You can use a random number generator to trigger 4 different triggered subsystems. You could utilize the comparison block to determine which subsystem is triggered.
  1 Kommentar
Abi Murali
Abi Murali am 24 Jul. 2012
Great idea Paul. Simple and efficient Thanks.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by