Change specific simulation time in Simulink

1 view (last 30 days)
Kelvin
Kelvin on 13 Jul 2014
Commented: Omar Al-Khatib on 22 Jan 2021
Hello,
I have been working on a simulink model and the simulation works perfectly.
I wanna add a new block to the simulation, which only runs for a specific time. So lets say I run the simulation for 10000s, I only want the new block to run from 2000-4000.
Is this possible? And is there a way I can make a specific block start after some seconds?
Your Sincerly

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 13 Jul 2014
You can use the block If-Then-Else Blocks
  5 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 13 Jul 2014
When there is no disturbance signal, we can consider it as equal to zero. Instead of telling: I will run a disturbance from 1000 to 2000, just set your disturbance signal to zero wherever you want

Sign in to comment.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!