MATLAB: 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

simulinktransient responsey-z parameters

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

Best 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.