Why the output of integrator remains zero during Reinforcement Learning (RL) training?

7 views (last 30 days)
I run Deep Q Network to train an agent with the environment being in Simulink. During the training, all outputs of integrator blocks remain zero even though the input is non-zero, as shown below.
If I simulate the same model without RL agent, all is perfectly fine. I work on Matlab 2022a. How to resolve this issue?

Accepted Answer

Gunawan
Gunawan on 8 May 2023
It is resolved. The reason for the problem is that the learning termination condition is always met at the start of each training step. Therefore, the integration block only outputs the initial condition.

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!