Clear Filters
Clear Filters

How to find the value of variable in the library?

2 views (last 30 days)
I am doing my project with the model example in Synchronous Machine Synchronous Machine - MATLAB & Simulink (mathworks.com)
I try to find the value of these variable (SM.sat, SM.RLinv, SM.Linv, etc) but can't find it. I just tried see in Model Explorer but just find the type and can't see the value (see picture). Anyone can help?

Answers (1)

madhan ravi
madhan ravi on 30 Nov 2023
Click on the subsystem and press ctrl + M and go to initialization.
And make sure to check out all the callbacks of the subsytem.
Should probably be found in one of the above methods.
I don't have the access to the toolbox so can't check from my side.
  2 Comments
Gilang Rahmat
Gilang Rahmat on 30 Nov 2023
thank you for your response, but i can't open the mask editor (Ctrl+M) in the subsystem because this is locked library.
madhan ravi
madhan ravi on 5 Dec 2023
Probably it’s a read only block. I probably would suggest you to contact the authors mentioned in the documentation.

Sign in to comment.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!