Reinforcement learning with action updated once every few (say 100) time steps

Hello,
I am trying to learn a controller in Simulink environment. I am tryng to use reinforcement learning where the action determined by the agent is updated once every few time steps, i.e., an action once determined by the agent is used for by Simulink to run the simulation for a few time steps before it is updated again. Please provide me with suggestions on this. Thank you.

Answers (1)

1 Comment

Thank you for the response. I understand the workflow and have read the descriptions you have provided. However, my requirement is slightly different. Specifically, after the agent generates an action, I want to simulate my simulink model for 100 time steps at a step time of 0.1ms, and then generate a new action from the agent. Therefore, the step time of simulation is 0.1 ms, whereas the agent need to output action every 10 ms. I hope this clarifies the query further.

Sign in to comment.

Categories

Find more on Reinforcement Learning Toolbox in Help Center and File Exchange

Products

Release

R2024a

Asked:

on 16 Jun 2024

Commented:

on 17 Jun 2024

Community Treasure Hunt

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

Start Hunting!