Port-Based Sample Times in Triggered Subsystems (SS_OPTION​_ALLOW_POR​T_SAMPLE_T​IME_IN_TRI​GSS)

1 vue (au cours des 30 derniers jours)
I have a file .slx with a software in the loop block in a triggered subsystem.
when I try to simulate it this error occurs:
so I modified the ssSetOptions in the mdlInitializeSizes method to indicate the S-function can run in a triggered subsystem adding the SS_OPTION_ALLOW_PORT_SAMPLE_TIME_IN_TRIGSS.
https://it.mathworks.com/help/simulink/sfg/sample-times.html#f4-70916
but the change is ignored and I have the same error.
Can anyone help me with this error?

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by