MATLAB Answers

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

6 views (last 30 days)
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.

  0 Comments

Sign in to comment.

Accepted Answer

Emmanouil Tzorakoleftherakis
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.

  0 Comments

Sign in to comment.

More Answers (1)

Nikhil Sonavane
Nikhil Sonavane on 1 Sep 2020
You may consider going through this already answered MATLAB Question which is available in the community.

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!