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

6 views (last 30 days)
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

Answers (1)

Spruha
Spruha on 24 Mar 2025
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.

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!