Reinforcement learning/Experiecne buffer/Simulink
Ältere Kommentare anzeigen
I am trying to create a experience buffer for my DDPG algorithm in Simulink. However, I can't find anyway or blocks to help me create a experience buffer to store (state,action,reward,next state) in simulink.
I have tried to create a experience buffer by rl.util.ExperienceBuffer in Matlab function but here is my code and the error

I hope you can help me deal with this problem. Thank you verry much!
Antworten (1)
Emmanouil Tzorakoleftherakis
am 5 Mai 2023
0 Stimmen
Why do you want to create your own buffer? If you are using the built-in DDPG agent, the buffer is created automatically for you. In any case, in 22a we added a feature that allows you to create your own experience buffer (see here). You can potentially use this to manually modify the experience buffer of a built-in agent.
1 Kommentar
hieu nguyen
am 6 Mai 2023
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!