I am running the PMSM block and the S-function block (sfun_pwm) in a Simulink REAL-TIME model, and the solver of the model is a fixed step. An error occurs.

4 views (last 30 days)
Block 'PWMSfunction1/S-Function' has a controllable sample time, but the model 'PWMSfunction1' is not using single tasking mode. Currently, controllable sample times can only be used in single tasking mode.

Answers (0)

Categories

Find more on Simulink Coder 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!