How to feed discrete i/p to simulink model

조회 수: 1 (최근 30일)
Sukumar Paul
Sukumar Paul 2012년 5월 15일
can any one tell me please how to give a discrete input per cycle to simulink model? i mean i want to give input like 01011 and model should take the input one by one per cycle. So first cycle it should take i/p as 0, next cycle 1, next+1 cycle 0 etc.

채택된 답변

TAB
TAB 2012년 5월 15일
Possible with any of the following blocks
Sources\From Workspace
Sources\Repeating Sequence
Sources\Repeating Stair
  댓글 수: 5
K E
K E 2012년 5월 15일
If anyone reading this is curious about 'Repeating Sequence Stair' which outputs and repeats a stair sequence that you would specify, see http://www.mathworks.com/help/toolbox/simulink/slref/repeatingsequencestair.html
Sukumar Paul
Sukumar Paul 2012년 5월 17일
Thanks K E .

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by