필터 지우기
필터 지우기

Output switch in Simulink

조회 수: 1 (최근 30일)
Abi Murali
Abi Murali 2012년 7월 24일
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

채택된 답변

Ryan G
Ryan G 2012년 7월 24일
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
Abi Murali
Abi Murali 2012년 7월 24일
Great idea Paul. Simple and efficient Thanks.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Electromechanical에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by