How to output LoggedSignals in reinforcement learning simulations?

9 次查看(过去 30 天)
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 个评论
lfyx
lfyx 2022-2-10
Not yet. In my problem, I can integrate these important information (in LoggedSignals) in to the agent states, though with enlarged state space.

请先登录,再进行评论。

回答(1 个)

Alex Alex
Alex Alex 2021-11-1
Try use combination "Ctrl+E" inopened model and select string Data Import/Export for setting output parametres
  2 个评论
lfyx
lfyx 2021-11-5
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.

请先登录,再进行评论。

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by