Hi, i have an error in powergui block
32 views (last 30 days)
Show older comments
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'. " >>
3 Comments
Answers (2)
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
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
See Also
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!