Create reinforcement learning environment using dynamic model implemented in Simulink
creates the reinforcement learning environment object env
= rlSimulinkEnv(mdl
,agentBlocks
)env
for the
Simulink model mdl
. agentBlocks
contains the
paths to one or more reinforcement learning agent blocks in mdl
. If you
use this syntax, each agent block must reference an agent object already in the MATLAB® workspace.
creates the reinforcement learning environment object env
= rlSimulinkEnv(mdl
,agentBlocks
,obsInfo
,actInfo
)env
for the model
mdl
. The two cell arrays obsInfo
and
actInfo
must contain the observation and action specifications for
each agent block in mdl
, in the same order as they appear in
agentBlocks
.
creates a reinforcement learning environment object env
= rlSimulinkEnv(___,'UseFastRestart',fastRestartToggle
)env
and
additionally enables fast restart. Use this syntax after any of the input arguments in the
previous syntaxes.
getActionInfo
| getObservationInfo
| RL Agent | rlFiniteSetSpec
| rlNumericSpec
| sim
| train