This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Policy Deployment

Code generation and deployment of trained policies

Once you train a reinforcement learning agent, you can generate code to deploy the optimal policy. For example, using MATLAB® Coder™ and GPU Coder™, you can generate C++ or CUDA code and deploy neural network policies on embedded platforms.


generatePolicyFunctionCreate function that evaluates trained policy of reinforcement learning agent


Deploy Trained Reinforcement Learning Policies

You can generate code for reinforcement learning agents using, for example, GPU Coder or MATLAB Coder.