Simulink powergui block error

144 次查看(过去 30 天)
Hi there, I am new to Simulink, I am working on a circuit for my assignment. But when I try to run it, it gives me a powergui error. I have attached the file in the link. Can someone please tell me what I am doing wrong? Or maybe fix it?
Error in 'new/A': Initialization commands cannot be evaluated.
Caused by:
The diagram must contain a powergui block. The block must be named powergui and should be located at the highest level of your diagram where SimPowerSystems blocks are found.
  3 个评论
Jawad Ali
Jawad Ali 2018-6-2
Thanks man, powergui worked for me
BOYA PAVAN KUMAR
BOYA PAVAN KUMAR 2018-6-19
just rename the model like untitled to something else

请先登录,再进行评论。

采纳的回答

Ali yaylaci
Ali yaylaci 2013-8-21
编辑:Ali yaylaci 2013-8-28
If you do not place a powergui block (under the Simpower system) at the top level of your model you will encounter with this problem...
The Powergui block is necessary for simulation of any Simulink model containing SimPowerSystems™ blocks. It is used to store the equivalent Simulink circuit that represents the state-space equations of the model.
  1 个评论
andy
andy 2014-9-24
we have similar problem, we already put "powergui" block on the highest level, but still show the error.

请先登录,再进行评论。

更多回答(2 个)

hafidz morshidul
hafidz morshidul 2021-4-4

Roba Alghamdi
Roba Alghamdi 2023-10-20
I cannot find powergui in my matlab also the electrical libar
  2 个评论
Joel Van Sickel
Joel Van Sickel 2024-6-10
this is the block. If you cannot find it, you don't have simscape electrical installed.
Hernando
Hernando 2024-10-4
Does the following block value match the plotted requirement?
Resistor:v
todo está correctamente montado con los valore que ma ha solicidado pero sigue dando ese error. Abro ver solucion y el esquema es exactamente igual

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Electrical Sensors 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by