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

37 views (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 5 Feb 2022
Moved: Joel Van Sickel on 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!