Simulink powergui block error
140 ビュー (過去 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 件のコメント
採用された回答
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
2014 年 9 月 24 日
we have similar problem, we already put "powergui" block on the highest level, but still show the error.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/181336/image.png)
その他の回答 (2 件)
Roba Alghamdi
2023 年 10 月 20 日
I cannot find powergui in my matlab also the electrical libar
1 件のコメント
Joel Van Sickel
2024 年 6 月 10 日
this is the block. If you cannot find it, you don't have simscape electrical installed.
参考
カテゴリ
Help Center および File Exchange で Electrical Sensors についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!