Simpower system powergui error

13 ビュー (過去 30 日間)
Shoaib
Shoaib 2015 年 1 月 10 日
回答済み: Sabin 2025 年 7 月 8 日
Hi everyone,
I am trying to implement a DC motor operation using Simpower systems tools (H bridge, DC machine). I have connected the powergui block and renamed it powergui as well. But I am getting the following errors 'Error in port widths or dimensions. Output port 1 of 'H_bridge/powergui/EquivalentModel3/Sources/From1' is a one dimensional vector with 18 elements.'
'Error in port widths or dimensions. Invalid dimension has been specified for input port 1 of 'H_bridge/powergui/EquivalentModel3/Sources/Mux'.'
What could be source of the error. I tried few things by changing the configuration parameters but there was no change.
Thanks,

回答 (1 件)

Sabin
Sabin 2025 年 7 月 8 日
There is a size mismatch. From1 is a vector with 18 elements but the Mux is expecting only 1 element. Without a model is hard to point to the exact root cause.

カテゴリ

Help Center および File ExchangeSimulation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by