Code generation with multiple triggered subsystems slow

1 view (last 30 days)
Hello
I am having trouble during code generation for dSPACE. My Simulink model contains to triggered subsystems which are driven by interrupts. Data is passed between the triggered subsystems through Rate Transitions.
The models runs, but i am having trouble with the execution times. I am using the dSPACE profiler to see the execution times and the two triggered subsystems are fine, but the overall system, which runs on a timer with 2e-4 s. sampling time is executed very slowly, even though it contains almost no operations. I have tried to remove all data transfer and Rate Transitions but one, but the problem remains.
I hope you have an idea of what the problem could be. If you have any manuals on the specific area these will also be appreciated. Please tell if you need more information.
Regards Anders

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!