My simulation is running in conticuous powergui.but i want to change the powergui to discrete (5e-6)

回答 (1 件)

Harsh
Harsh 2025 年 6 月 18 日

0 投票

The "powergui" block allows you to choose one of these methods to solve your circuit:
  • Continuous, which uses a variable-step solver from Simulink
  • Discretization of the electrical system for a solution at fixed time steps
  • Continuous or discrete phasor solution
To change the "Simulation type" from "Continuous" to "Discrete" double click on the "powergui" block in your model and click on the drop down button to select "Discrete". After that you can provide the "Sample time" as "5e-6" and click on Apply.
For more information regarding "powergui" block, enter the following line in MATLAB "Command Window" -
doc powergui

カテゴリ

製品

リリース

R2017a

タグ

質問済み:

2019 年 4 月 4 日

回答済み:

2025 年 6 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by