How to output LoggedSignals in reinforcement learning simulations?

6 views (last 30 days)
lfyx
lfyx on 1 Nov 2021
Commented: lfyx on 5 Nov 2021
I'm simulating a trained agent (using "sim" function) and I want to record the LoggedSignals as a simulation output. Because LoggedSignals contains some important information regarding the simulation. But in the documentation, I can find a way to do so.
  3 Comments

Sign in to comment.

Answers (1)

Alex Alex
Alex Alex on 1 Nov 2021
Try use combination "Ctrl+E" inopened model and select string Data Import/Export for setting output parametres
  1 Comment
lfyx
lfyx on 5 Nov 2021
Thank you, I'm using the RL in MATLAB environment not the Simulink environment. I think the LoggedSignals may be outputted in a custom environment, through customizing the "sim" function. But I have not yet to verified. I will back to answer once I implemented.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!