p1 variable does not exist simulink,psat

44 ビュー (過去 30 日間)
Godspower
Godspower 2023 年 5 月 3 日
編集済み: Shuba Nandini 2023 年 5 月 29 日
p1 variable does not exist simulink,psat
  2 件のコメント
Walter Roberson
Walter Roberson 2023 年 5 月 3 日
We are going to need more context then that.
Godspower
Godspower 2023 年 5 月 3 日
Thank you for your reply. But I don't really got your answer. I am a first user on psat, I'm having challenge modelling on psat. The blocks are highlighting red

サインインしてコメントする。

回答 (1 件)

Shuba Nandini
Shuba Nandini 2023 年 5 月 29 日
編集済み: Shuba Nandini 2023 年 5 月 29 日
Hello,
It is my understanding that, you are getting error “p1 variable does not exist” while working with PSAT toolbox.
  • Please make sure that the variable is defined in the appropriate MATLAB script or function before using it.
  • Ensure that the variable p1 is initialized with a value before it is used. In Simulink, you can initialize the variable using an Initialization block or by assigning a value within the MATLAB Function block.
To know more about Initialization function, please refer to: Initialization Function - MATLAB & Simulink
I hope, one of these steps will resolve your issue.

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by