P1 variable does not exist simulink in psat
显示 更早的评论
回答(1 个)
Sayan
2023-8-30
0 个投票
I understand your issue is that the variable 'p1' cannot be traced when you run the simulation. This could be because the variable is not assigned or defined in the Simulink model. To resolve the issue a few possible steps are mentioned below.
- Find if there is any assignment of 'p1' within the blocks. If not, a value needs to be assigned to the variable.
- If 'p1' is being used as an input or output to a block, it needs to be ensured that it is properly connected to the block.
Hope this helps in resolving the issue.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
