How to log/record signal data from a reinforcement learning (RL) agent/environment over multiple training episodes using Simulink?

1 visualizzazione (ultimi 30 giorni)
I am training an RL agent in Simulink, as shown here.
I would like to record the data for each episode during the training process.
I have considered the functionality of: 'Log Selected Signals'. However, this does not give/return anything to the workspace.
The environment used is designed using blocks from the powerlib.

Risposta accettata

Emmanouil Tzorakoleftherakis
If you call 'train' with an output argument, you will get many useful statistics from training (see here). Would this work?

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by