How to repeat a subsystem output multiple times in SImulink

4 views (last 30 days)
I am trying to generate a signal with the following conditions:
  1. The signal has a maximum value
  2. When the signal reaches the threshold value it drops to 0.
  3. Then it rises again linearly to the pre mentioned threshold value.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 16 Dec 2019
Use an Integrator block with constant as the input. Compare the out with the Maximum value and trig reset.
  2 Comments
Kartik Singhal
Kartik Singhal on 16 Dec 2019
It needs to be a continous system. Using a trigger will require discrete integerator block

Sign in to comment.

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!