Clear Filters
Clear Filters

P1 variable does not exist simulink in psat

1 view (last 30 days)
Debmalya Hembram
Debmalya Hembram on 7 Jun 2022
Answered: Sayan on 30 Aug 2023
  • How to solve the problem?

Answers (1)

Sayan
Sayan on 30 Aug 2023
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.
  1. Find if there is any assignment of 'p1' within the blocks. If not, a value needs to be assigned to the variable.
  2. 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.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!