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

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by