An error in port when using Powergui in Simulink

3 次查看(过去 30 天)
When I had put a Powergui block in Simulink and started the simulation, an error occured that "Error in port widths or dimensions. Output 1 of 'middle_1/powergui/EquivalentModel1/Gates' is a one dimensional vector with 12 elements." A similar error occured in the input port. Do I need to link this block to any other port? I have read the help document, but I don't think so.
  1 个评论
Raka
Raka 2012-5-11
Can you please explain more about the model you are building in Matlab/simulink simPowersystem because i faced the same problem while desiging my model and able to solve it.

请先登录,再进行评论。

回答(1 个)

K E
K E 2012-4-13
Please see Guy Rouleau's answer here. I believe it will help.
  2 个评论
u of AA
u of AA 2012-4-13
Thank you for your recommendation. However, Powergui is a block designed by the system, and no input or output ports are left for the users, so I don't know why there exits errors on inputs/outputs of Powergui, thus the answer provided by Guy may not help.
u of AA
u of AA 2012-4-13
Powergui is a block in SimPowerSystems of Simulink.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Variable Initialization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by