how I can connect Agent's action to set block parameter?

4 ビュー (過去 30 日間)
Hello,
how I can connect Agent's action to set block parameter? In particular I need my RL Agent to change relay setting "OnSwitchValue" in the specified range.

採用された回答

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020 年 9 月 3 日
Hello,
The most straightforward way is if the block accepts external input that modifies these parameters (for example like the gains in a PID block). For a relay, you may consider creating a dynamic relay yourself e.g. using the implementation shown here, or using a MATLAB function block.

その他の回答 (1 件)

Nikhil Sonavane
Nikhil Sonavane 2020 年 9 月 1 日
You may consider going through this already answered MATLAB Question which is available in the community.

Community Treasure Hunt

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

Start Hunting!

Translated by