how to solve this problem
조회 수: 11 (최근 30일)
이전 댓글 표시
An error occurred while running the simulation and the simulation was terminated
For block 'PMSM_SMO_atan/SVPWM_control/Subsystem2/Multiport Switch', control port value '0' is not in between '1' and '6'. To suppress this message and use the default port, you can change the settings of 'Diagnostic for default case' to 'None'
Component: Simulink | Category: Block error
댓글 수: 2
Walter Roberson
2019년 3월 4일
Either figure out why the control port was 0, or else make the change they suggest.
Sai kartheek Chavali
2019년 3월 4일
PMSM_SMO_atan/SVPWM_control/Subsystem2/Multiport Switch
what is the model functionality?
답변 (1개)
Sabin
2025년 6월 5일
Without a model is not possible to point to the root cause but the problem is, as the error points out, the control port of a multiport switch that is 0 but the parameter 'Data port order' is set to One-based contiguous (this means that the out of range condition is: the control input is less than 1 or greater than the number of data inputs.).
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrical Block Libraries에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!