Policy
Reinforcement learning policy
- Library:
Reinforcement Learning Toolbox
Description
Use the Policy block to simulate a reinforcement learning policy in
Simulink® and to generate code (using Simulink
Coder™) for deployment purposes. This block takes an observation as input and outputs
an action. You associate the block with a MAT-file that contains the information needed to
fully characterize the policy, and which can be generated by generatePolicyFunction
or generatePolicyBlock
.
Ports
Input
Output
Parameters
Model Examples
Extended Capabilities
Version History
Introduced in R2022b