How to output LoggedSignals in reinforcement learning simulations?

7 visualizaciones (últimos 30 días)
lfyx el 1 de Nov. de 2021
Comentada: Ádám Weinhardt el 15 de Oct. de 2022
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.
  5 comentarios
Willem Völker
Willem Völker el 7 de Feb. de 2022
I am having the same issue. Have you found an answer?
lfyx el 10 de Feb. de 2022
Not yet. In my problem, I can integrate these important information (in LoggedSignals) in to the agent states, though with enlarged state space.

Iniciar sesión para comentar.

Respuestas (1)

Alex Alex
Alex Alex el 1 de Nov. de 2021
Try use combination "Ctrl+E" inopened model and select string Data Import/Export for setting output parametres
  2 comentarios
lfyx el 5 de Nov. de 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.
Ádám Weinhardt
Ádám Weinhardt el 15 de Oct. de 2022
Does anybody have a solution? I am struggling with the same problem.

Iniciar sesión para comentar.




Community Treasure Hunt

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

Start Hunting!

Translated by