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

1 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by