Does integrator blocks get reset automatically at the end of a reinforcement learning episode?

So in my simulink reinforcement learning model, I'm using integrator blocks to integrate velocity to get displacement. I was wondering if during the end of a episode the states reset, does the integrate block also reset back to the initial condition or do I have to manually do that myself?
Thanks

Réponses (1)

Hi Vincent,
I noticed you're working with an "integrator" block in a reinforcement learning model using Simulink. It's important to note that the "integrator" block does not automatically reset at the end of each episode. The "integrator" block has the “external reset” set to "None" by default. You need to implement a reset mechanism to ensure proper functionality.
Here are a few methods to achieve this:
Hope this helps.

Catégories

En savoir plus sur Reinforcement Learning Toolbox dans Centre d'aide et File Exchange

Produits

Version

R2024a

Question posée :

le 11 Mar 2025

Réponse apportée :

le 24 Mar 2025

Community Treasure Hunt

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

Start Hunting!

Translated by