How to reset 'StartTime' in the SimulinkEnvWithAgent.m file

1 回表示 (過去 30 日間)
Pavel Semenov
Pavel Semenov 2020 年 10 月 23 日
Hello,
my data is the timeseries dataset recorded for 1 year with the timestep of 3600s
I want to set the 'StartTime' in the range (3600*24*randi([0, 364]) and reset it before each simulation episode. I cannot use callbacks in the model parameters because it conflicts with SimulinkEnvWithAgent.m file.
Please advice how to reset StartTime in the SimulinkEnvWithAgent.m file.

回答 (0 件)

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by