MATLAB Answers

0

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?

Asked by Arnab Bose on 12 Aug 2012
Latest activity Edited by John Kelly on 26 Feb 2015

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

  0 Comments

Sign in to comment.

1 Answer

Answer by Ryan G
on 13 Aug 2012
Edited by John Kelly on 26 Feb 2015
 Accepted Answer

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.