Dynamically change a block input during Deep Reinforcement Learning after each episode. How To?
Ältere Kommentare anzeigen
I have a constant block that takes a single input from the base MATLAB workspace. How do I set up my enviroment such that it accepts one of seven available inputs (at random or in a cycle)? This input should change between episodes.
Thank you.
1 Kommentar
Abdul Basith Ashraf
am 6 Okt. 2020
Bearbeitet: Abdul Basith Ashraf
am 6 Okt. 2020
Antworten (1)
Emmanouil Tzorakoleftherakis
am 12 Okt. 2020
0 Stimmen
Hello,
Please have a look at this example, and in particular the 'localResetFcn' at the bottom ('setBlockParameter'in the reset function is one option).
Kategorien
Mehr zu Reinforcement Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!