MATLAB Answers

Hi, i have an error in powergui block

14 views (last 30 days)
Madhubala Srinivasan
Madhubala Srinivasan on 23 Oct 2018
Commented: Abigail Mbula on 17 Nov 2020
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'. " >>

  2 Comments

Ankur Dahake
Ankur Dahake on 8 May 2020
pleas answer this question i also have same problem

Sign in to comment.

Answers (1)

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!