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