Error in port widths or dimensions.

820 visualizaciones (últimos 30 días)
Leo Sekar
Leo Sekar el 16 de Oct. de 2015
Comentada: laiche zeghdi el 24 de Mzo. de 2024 a las 9:26
Error in port widths or dimensions. Output port 1 of 'last/Subsystem/powergui/EquivalentModel1/Gates/From2' is a one dimensional vector with 2 elements.
AND
Error in port widths or dimensions. Invalid dimension has been specified for input port 2 of 'last/Subsystem/powergui/EquivalentModel1/Gates/Mux'.
I am using MATLAB 2010a. problem occurred in the switching circuit of invert. Anticipating your answers...
  2 comentarios
Vinay Gurram
Vinay Gurram el 27 de Dic. de 2022
Hello Sir,
Can you please let us know how to solve the error what you face with POWER GUI block? It would be a great help.
Atsafack Blondelle Melina
Atsafack Blondelle Melina el 12 de Abr. de 2023
Hello everyone!
Please, can someone help to solve this widths ou dimension error?

Iniciar sesión para comentar.

Respuesta aceptada

Dennie
Dennie el 16 de Oct. de 2015
Hello Leo,
It is difficult to see from the pictures, but it looks like you have predefined the sizes of your signals. The dimensions of the signals going into the mux is not matching with what Simulink is expecting from the output. You can check this by double clicking on the problematic blocks and see which rule Simulink uses to determine the size and type of the signal.
To me it looks like the state space block is expecting a signal of the size 10x1, and the signal given to the mux is larger than that.
Kind regards,
Dennie
  5 comentarios
sandesh khadka
sandesh khadka el 1 de Dic. de 2020
can you suggest me hall decoder for bldc motor
sandesh khadka
sandesh khadka el 9 de Dic. de 2020
i have tried that option also. i can't get answer

Iniciar sesión para comentar.

Más respuestas (2)

sandesh khadka
sandesh khadka el 1 de Dic. de 2020
Invalid setting for input port dimensions of 'BLDC/DECODER/Demux1'. The dimensions are being set to [-1]. This is not valid because the total number of input and output elements are not the same
  9 comentarios
Muhammad Kamran Mustafa
Muhammad Kamran Mustafa el 14 de Jun. de 2023
Movida: DGM el 2 de Dic. de 2023
how to solve this error ?
Urveshkumar Dharmendrabhai
Urveshkumar Dharmendrabhai el 20 de Sept. de 2023
Movida: DGM el 2 de Dic. de 2023
I am also facing the same problem..kindly let me know if anybody of you have got the solution

Iniciar sesión para comentar.


Haftamu Lemlem
Haftamu Lemlem el 2 de Dic. de 2023
Editada: Haftamu Lemlem el 2 de Dic. de 2023
i know how irritating this error could be. i also encountered the same error just yesterday and i am giving this incase someone found it helpful. i was running a delta connected CHB STATCOM and got this error repeatedly. i looked for some solutions including this very page. it might be helpful for some people but it wasnt very helpful for me. this error maybe caused because of many reasons and mine was because of the a PWM generator. i used three level PWM generator after the inverse park transformation to help me generate signals for the IGBT switches. but it turns out that the PWM generator generates 12 pulses for each phase which i connected using one line. That was the mistake and it was solved as soon as i removed the PWM from the model. so there is different reasons for this error. so just focus on your model and put each and every part carefully and reasonably.
Cheers!
Haftamu!
  2 comentarios
Nihal Shaji
Nihal Shaji el 20 de Mzo. de 2024 a las 18:47
I am doing something very similar involving Field Oriented Control of a PMSM, and the connections of the FOC is giving me the same error. I used a normal PWM instead of a two level but it still didn't solve itself. Did you try anything else?
laiche zeghdi
laiche zeghdi el 24 de Mzo. de 2024 a las 9:26
i also have same problem but i got this :''Error in port widths or dimensions. Output port 1 of 'Stat_Chikh_2_trois_niv/powergui/EquivalentModel1/Gates/From27' is a [1x2] matrix.''
and this :''Error in port widths or dimensions. Invalid dimension has been specified for input port 27 of 'Stat_Chikh_2_trois_niv/powergui/EquivalentModel1/Gates/Mux'.''
help me

Iniciar sesión para comentar.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by