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.