Invalid setting for input port dimensions of 'induction/Demux'. The dimensions are being set to 1. This is not valid because the total number of input and output elements are not the same

7 vues (au cours des 30 derniers jours)
hi I am getting errors in induction motor model which is In below desisn.i e
Invalid setting for input port dimensions of 'induction/Demux'. The dimensions are being set to 1. This is not valid because the total number of input and output elements are not the same
Error in port widths or dimensions. Output port 2 of 'induction/Model' is a one dimensional vector with 1 elements
  2 commentaires
Alexander Wireko-Brobby
Alexander Wireko-Brobby le 5 Fév 2022
Did anyone solve this problem. I am running into the same in the simulation using the interpreted matlab function block and don't understand the error message

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 5 Fév 2022
Déplacé(e) : Joel Van Sickel le 27 Avr 2023
The "is" output of the model feeds into a demux that expects it to be length 2. However the model thinks that the output "is" is only length 1. You need to track back through the model to figure out why the output is length 1 instead of length 2.

Community Treasure Hunt

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

Start Hunting!

Translated by