Clear Filters
Clear Filters

I am using Matlab R2011a. I am creating any circuit model in Simulink, and after I simulate, an error log opens saying initialisation commands cannot be evaluated, hw to solve?

3 views (last 30 days)
Some errors I mention as:
Block Error- Error in 'Introduction_to_Simulink/AC Voltage Source': Initialization commands cannot be evaluated.
Error in 'Introduction_to_Simulink/Current Measurement': Initialization commands cannot be evaluated.
Model Error- 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.
This problem arises as block error and model error, and its occurring in evry bolck and model, Please give me solution as early as possible

Accepted Answer

Ryan G
Ryan G on 13 Aug 2012
Edited: John Kelly on 26 Feb 2015
Based on the error it sounds like you are utilizing SimPowerSystems. Those blocks require the powergui to determine the solver. Look at this simple circuit demo to see the powergui in action.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!