对于初次使用simulink simscape做仿真的初学者来说,往往会出现一个常见的错误: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.
工具/原料
初次使用simscape仿真的人往往会在这里卡壳,其实只要在simulink library browser搜索”powergui“
方法/步骤
1
添加powergui模块进仿真界面即可。
2
当然,你可以更改powergui的改为离散或者是连续控制。
上一篇:小儿咳嗽的偏方快速治疗