Can s-function run in simulink REAL-TIME model?
조회 수: 5 (최근 30일)
이전 댓글 표시
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1072960/image.png)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Target Computer Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!