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

6 ビュー (過去 30 日間)
Vincent
Vincent 2025 年 3 月 11 日
回答済み: Spruha 2025 年 3 月 24 日
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

回答 (1 件)

Spruha
Spruha 2025 年 3 月 24 日
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.

カテゴリ

Help Center および File ExchangeReinforcement Learning についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by