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

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!