Dynamically change a block input during Deep Reinforcement Learning after each episode. How To?
古いコメントを表示
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 件のコメント
Abdul Basith Ashraf
2020 年 10 月 6 日
編集済み: Abdul Basith Ashraf
2020 年 10 月 6 日
回答 (1 件)
Emmanouil Tzorakoleftherakis
2020 年 10 月 12 日
0 投票
Hello,
Please have a look at this example, and in particular the 'localResetFcn' at the bottom ('setBlockParameter'in the reset function is one option).
カテゴリ
ヘルプ センター および File Exchange で Reinforcement Learning についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!