I have a Simulink model named 'Mathworks_Test_DoesNotWork.mdl' that contains a Fortran Level-1 S-function inside a triggered subsystem. When I simulate the model, it produces the following error message:
'Mathworks_Test_DoesNotWork/Triggered Subsystem/S-Function' has a continuous sample time. Only constant (inf) or inherited (-1) sample times are allowed in triggered subsystem 'Mathworks_Test_DoesNotWork/Triggered Subsystem'.
Best Answer