How to find the value of variable in the library?

1 回表示 (過去 30 日間)
Gilang Rahmat
Gilang Rahmat 2023 年 11 月 29 日
コメント済み: madhan ravi 2023 年 12 月 5 日
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?

回答 (1 件)

madhan ravi
madhan ravi 2023 年 11 月 30 日
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 件のコメント
Gilang Rahmat
Gilang Rahmat 2023 年 11 月 30 日
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 2023 年 12 月 5 日
Probably it’s a read only block. I probably would suggest you to contact the authors mentioned in the documentation.

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

カテゴリ

Help Center および File ExchangeCreate Large-Scale Model Components についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by