GET THE VALUE OF A TAG ON SIMULINK

3 ビュー (過去 30 日間)
Ilse Judith Pérez Jiménez
Ilse Judith Pérez Jiménez 2023 年 7 月 14 日
回答済み: Prathamesh 2023 年 7 月 26 日
Hello, I am developing a RL Agent, but I have a problem with my code, after watching several examples, I realize is because the value is inside of a TAG. So, How can I take out the value of a tag in simulink.

回答 (1 件)

Prathamesh
Prathamesh 2023 年 7 月 26 日
Hi,
I understand that you want to know the value of the from tag TBAT”.
You can use “To Workspace block in order to so. “To Workspace” block stores the value into a variable in MATLAB workspace and you can verify the value inside the tag from the workspace.
Please refer to the documentation of the “To Workspace” block attached below.
I hope this resolves your issue.

カテゴリ

Help Center および File ExchangeReinforcement Learning についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by