Simulink powergui block error

145 vues (au cours des 30 derniers jours)
Md.
Md. le 21 Août 2013
Commenté : Hernando le 4 Oct 2024
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 commentaires
Jawad Ali
Jawad Ali le 2 Juin 2018
Thanks man, powergui worked for me
BOYA PAVAN KUMAR
BOYA PAVAN KUMAR le 19 Juin 2018
just rename the model like untitled to something else

Connectez-vous pour commenter.

Réponse acceptée

Ali yaylaci
Ali yaylaci le 21 Août 2013
Modifié(e) : Ali yaylaci le 28 Août 2013
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 commentaire
andy
andy le 24 Sep 2014
we have similar problem, we already put "powergui" block on the highest level, but still show the error.

Connectez-vous pour commenter.

Plus de réponses (2)

hafidz morshidul
hafidz morshidul le 4 Avr 2021
  2 commentaires
joe kassab
joe kassab le 12 Nov 2021
thx a lot it rly solved my problem
Abdul-Ahmad sali Abah
Abdul-Ahmad sali Abah le 19 Jan 2023
thx

Connectez-vous pour commenter.


Roba Alghamdi
Roba Alghamdi le 20 Oct 2023
I cannot find powergui in my matlab also the electrical libar
  2 commentaires
Joel Van Sickel
Joel Van Sickel le 10 Juin 2024
this is the block. If you cannot find it, you don't have simscape electrical installed.
Hernando
Hernando le 4 Oct 2024
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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Electrical Sensors dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by