how to solve this problem

5 vues (au cours des 30 derniers jours)
minglangruye bian
minglangruye bian le 4 Mar 2019
Réponse apportée : Sabin le 5 Juin 2025
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 commentaires
Walter Roberson
Walter Roberson le 4 Mar 2019
Either figure out why the control port was 0, or else make the change they suggest.
Sai kartheek Chavali
Sai kartheek Chavali le 4 Mar 2019
PMSM_SMO_atan/SVPWM_control/Subsystem2/Multiport Switch
what is the model functionality?

Connectez-vous pour commenter.

Réponses (1)

Sabin
Sabin le 5 Juin 2025
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.).

Catégories

En savoir plus sur Electrical Block Libraries dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by