How to output LoggedSignals in reinforcement learning simulations?

조회 수: 9 (최근 30일)
lfyx
lfyx 2021년 11월 1일
댓글: Ádám Weinhardt 2022년 10월 15일
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
Willem Völker
Willem Völker 2022년 2월 7일
I am having the same issue. Have you found an answer?
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.
Ádám Weinhardt
Ádám Weinhardt 2022년 10월 15일
Does anybody have a solution? I am struggling with the same problem.

댓글을 달려면 로그인하십시오.

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by