Continuous to discrete conversion of power gui

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

Answers (1)

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

Products

Release

R2017a

Tags

Asked:

on 4 Apr 2019

Answered:

on 18 Jun 2025

Community Treasure Hunt

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

Start Hunting!