Hi, i have an error in powergui block

37 views (last 30 days)
Madhubala Srinivasan
Madhubala Srinivasan on 23 Oct 2018
Commented: haritha on 22 Feb 2023
when i drop powergui block in the simulink window , i get some errors that does not run my block i get these errors "Warning: '' is not a valid model name because it is not a valid MATLAB function name. > In powergui Warning: '' is not a valid model name because it is not a valid MATLAB function name. > In powergui Warning: Could not evaluate MaskDisplay commands of block 'untitled/powergui': Undefined function or variable 'dispMessage'. Warning: '' is not a valid model name because it is not a valid MATLAB function name. > In powergui Warning: '' is not a valid model name because it is not a valid MATLAB function name. > In powergui Warning: Could not evaluate MaskDisplay commands of block 'untitled/powergui': Undefined function or variable 'dispMessage'. Warning: '' is not a valid model name because it is not a valid MATLAB function name. > In powergui Warning: '' is not a valid model name because it is not a valid MATLAB function name. > In powergui Warning: Could not evaluate MaskDisplay commands of block 'untitled/powergui': Undefined function or variable 'dispMessage'. Warning: '' is not a valid model name because it is not a valid MATLAB function name. > In powergui Warning: '' is not a valid model name because it is not a valid MATLAB function name. > In powergui Warning: Could not evaluate MaskDisplay commands of block 'untitled/powergui': Undefined function or variable 'dispMessage'. " >>

Answers (2)

Hongyang Zhang
Hongyang Zhang on 30 Oct 2020
Change the name of your Simulink file. You already had a Simulink file named with "untitled.slx".

Usman Javaid
Usman Javaid on 30 Mar 2021
Warning: You have required continuous-time simulation of a system containing switches nonlinear elements.
The ode23tb variable-step stiff solver with relative tolerance set to le-4 generally gives best accuracy and simulation performance. For some highly nonlinear models it may be necessary to set the "Solver reset method"
parameter to "Robust".
See "Improving Simulation Performance" chapter in SimPowerSystems documentation additional information on how to select an appropriate integration method.
for
To ignore SimPowerSystems warnings, select "Disable SimPowerSystems warnings" in the Powergui Preferences tab. Any one can ans this?
  1 Comment
haritha
haritha on 22 Feb 2023
i am also getting this problem ,how to rectify this

Sign in to comment.

Categories

Find more on Event Functions 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!