Port-Based Sample Times in Triggered Subsystems (SS_OPTION_ALLOW_PORT_SAMPLE_TIME_IN_TRIGSS)
1 view (last 30 days)
Show older comments
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168734/image.jpeg)
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://www.mathworks.com/matlabcentral/answers/uploaded_files/168735/image.jpeg)
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!