Effacer les filtres
Effacer les filtres

Interruption within S-function

1 vue (au cours des 30 derniers jours)
George
George le 22 Mar 2013
Hi ,
I am looking for a way to create several interruption in a S-function.
For the moment I use Mex file sample times which able me to call my function every X time. But there is no priority when I use this method.
What I would like to do is to create 3 interruptions to interrupt my C code: One at 125µs , one at 250µs and one with a variable time which could be modified during the simulink simulation.
Hope someone can answer.

Réponses (0)

Catégories

En savoir plus sur Event Functions dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by