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

26 Ansichten (letzte 30 Tage)
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 Kommentare
Alexander Wireko-Brobby
Alexander Wireko-Brobby am 5 Feb. 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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 5 Feb. 2022
Verschoben: Joel Van Sickel am 27 Apr. 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