Create Simulink model for reinforcement learning, using reference model as environment
creates a Simulink® model with the name specified by env
= createIntegratedEnv(refModel
,newModel
)newModel
and returns a
reinforcement learning environment object, env
, for this model. The
new model contains an RL Agent block and uses the reference model
refModel
as a reinforcement learning environment for training the
agent specified by this block.
[
returns the block path to the RL Agent block in the new model and the
observation and action data specifications for the reference model,
env
,agentBlock
,obsInfo
,actInfo
] = createIntegratedEnv(___)obsInfo
and actInfo
, respectively.
[___] = createIntegratedEnv(___,
creates a model and environment interface using port, observation, and action information
specified using one or more Name,Value
)Name,Value
pair arguments.