MATLAB Answers

The powergui can't use.

5 views (last 30 days)
Burgess Zhang
Burgess Zhang on 15 Apr 2018
Answered: Hongyang Zhang on 30 Oct 2020
When the powergui was added in the Simulink, it displays the error :
警告: '' is not a valid model name because it is not a valid MATLAB function name.
> In powergui
警告: '' is not a valid model name because it is not a valid MATLAB function name.
> In powergui
警告: Could not evaluate MaskDisplay commands of block 'untitled/powergui': 未定义函数或变量 'dispMessage'。
警告: '' is not a valid model name because it is not a valid MATLAB function name.
> In powergui
警告: '' is not a valid model name because it is not a valid MATLAB function name.
> In powergui
警告: Could not evaluate MaskDisplay commands of block 'untitled/powergui': 未定义函数或变量 'dispMessage'。
What's the reason?

  0 Comments

Sign in to comment.

Answers (2)

Burgess Zhang
Burgess Zhang on 15 Apr 2018
And my mate have the same question. We get the software(2017a) from our school,Huazhong university of science and technology.

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!