How to assign a agentObj in Reinforcement Learning block?

Actually I am trying to run a RL block in Simulink but its show error of agentObj. What do I need to assign there exactly in order to make it run.

 Accepted Answer

Hi,
The error is due to absence of 'agentObj' in the current workspace. You can initialize this agentObj in Model Callbacks of Simulink. You can refer to this link for more help:
Hope this helps!

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Release

R2019b

Community Treasure Hunt

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

Start Hunting!