Filter löschen
Filter löschen

In Simulink, how can I execute a subsystem once every 5 seconds?

3 Ansichten (letzte 30 Tage)
Kevin Bachovchin
Kevin Bachovchin am 24 Jul. 2017
Kommentiert: Dimitris Iliou am 27 Jul. 2017
In Simulink, how can I execute a subsystem once every 5 seconds? While the rest of the simulation will need smaller time steps, I would like one subsystem to only execute once every 5 seconds and then hold that output value of the subsystem for the remainder of the 5 second period.
I tried to do this using triggered subsystems. However, I got an error because my subsystem has continuous blocks (Fourier blocks). Basically, I just want my Simulink model to do a Fourier analysis of voltages/currents in my model once every 5 seconds and not continually recompute this with every small time step that is needed for simulation of the electrical system.

Antworten (0)

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by