Filter löschen
Filter löschen

Can s-function run in simulink REAL-TIME model?

5 Ansichten (letzte 30 Tage)
Xueying Ma
Xueying Ma am 21 Jul. 2022
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.
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.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by