I created a s-funciton in a subsystem in the Simulink. Error: (the s-function part)has an invalid sample time.

1 view (last 30 days)
Error: (the s-function part) has an invalid sample time. Only constant (inf) or inherited (-1) sample times are allowed in the asynchronous subsystem.
How can I deal with this? Someone can help me ?

Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!