Hi, i have an error in powergui block
32 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Hongyang Zhang
2020-10-30
Change the name of your Simulink file. You already had a Simulink file named with "untitled.slx".
Usman Javaid
2021-3-30
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?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!