How do I create a trigger for a subsystem which has to run faster than the rest of the simulink model?

2 views (last 30 days)
I have a transmission plant simulink model which is interconnected to complete vehicle model. I need to run this plant model faster than rest of the model. This plant model is designed with a triggered subsystem and trigger is given from a dSPACE timer hardware interrupt block which is actally designed for HIL testing. When I run it on simulimk (called offline analysis), plant is generating weird values as dSPACE interrupt is not working here. I am looking for an alternative block available in simulink library to replace the dSPACE timer interrupt and run the simulations so that plant block has higher sample time and rest of the model has normal sample time.

Answers (0)

Community Treasure Hunt

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

Start Hunting!