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

8 visualizaciones (últimos 30 días)
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 comentarios
Alexander Wireko-Brobby
Alexander Wireko-Brobby el 5 de Feb. de 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

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 5 de Feb. de 2022
Movida: Joel Van Sickel el 27 de Abr. de 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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by