Error in port widths or dimensions.
819 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Vinay Gurram
2022 年 12 月 27 日
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
2023 年 4 月 12 日
Hello everyone!
Please, can someone help to solve this widths ou dimension error?
採用された回答
Dennie
2015 年 10 月 16 日
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 件のコメント
その他の回答 (2 件)
sandesh khadka
2020 年 12 月 1 日
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 件のコメント
Urveshkumar Dharmendrabhai
2023 年 9 月 20 日
移動済み: DGM
2023 年 12 月 2 日
I am also facing the same problem..kindly let me know if anybody of you have got the solution
Haftamu Lemlem
2023 年 12 月 2 日
編集済み: Haftamu Lemlem
2023 年 12 月 2 日
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 件のコメント
Nihal Shaji
2024 年 3 月 20 日 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
2024 年 3 月 24 日 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
参考
カテゴリ
Help Center および File Exchange で Switches and Breakers についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!