p1 variable does not exist simulink,psat
45 次查看(过去 30 天)
显示 更早的评论
p1 variable does not exist simulink,psat
2 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!