Running powergui block in different simulation modes within the same model

1 view (last 30 days)
I want to run different parts of a model in different modes using powergui block. Different modes being discrete, continuous or phasor. Is it possible?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Nov 2022
Edited: MathWorks Support Team on 23 Nov 2022
This is possible by dividing the photovoltaic(PV) system and the propulsion system as two subsystems. You can add two different powergui blocks (one in each subsystem) running in different modes. Important thing to keep in mind is that if you are using more than one powergui block in a model, then:
  • Do not place a powergui block in the top-level diagram
  • Place every independent model in a different subsystem
  • Place a single powergui block in the top level diagram of every subsystem

More Answers (0)


Find more on Schedule Model Components in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!