Reinforcement Learning Toolbox

 

Reinforcement Learning Toolbox

Design and train policies using reinforcement learning

Video length is 2:18
Collection of training algorithms, such as DDPG, DQN, SAC, and PPO available in Reinforcement Learning Toolbox.

Reinforcement Learning Agents

Create model-free and model-based reinforcement learning agents using popular algorithms such as DQN, PPO, and SAC. Alternatively, develop your own custom algorithms with provided templates. Use RL Agent block to bring your agents into Simulink.

Reinforcement Learning Designer App

Interactively design, train, and simulate reinforcement learning agents. Export trained agents to MATLAB for further use and deployment.

Reward Signals

Create reward signals that measure how successful the agent is at achieving its goal. Automatically generate reward functions from control specifications defined in Model Predictive Control Toolbox or Simulink Design Optimization.

Policy Representation

Get started quickly by using neural network architectures suggested by the toolbox. Alternatively, explore lookup tables, or define neural network policies manually, with Deep Learning Toolbox layers, and Deep Network Designer app.

Reinforcement Learning Training

Train agents through interactions with an environment or using existing data. Explore single- and multi-agent training. Log and view training data, and monitor progress as you go.

Multiple workers generating data in parallel for distributed reinforcement learning.

Distributed Computing

Speed up training using multicore computers, cloud resources, or compute clusters with Parallel Computing Toolbox and MATLAB Parallel Server. Leverage GPUs to accelerate operations such as gradient computation and prediction.

Screenshot of a Simulink model for a quadruped robot.

Environment Modeling

Model environments that interact seamlessly with the reinforcement learning agents using MATLAB and Simulink. Interface with third-party modeling tools.

Code Generation and Deployment

Automatically generate C/C++ and CUDA code from trained policies for deployment to embedded devices. Use MATLAB Compiler and MATLAB Production Server to deploy trained policies to production systems as standalone applications, C/C++ shared libraries, and more.

Reference Examples

Design controllers and decision-making algorithms for robotics, automated driving, calibration, scheduling, and other applications. Consult our reference examples to get started quickly.

“5G is a critical infrastructure that we must protect from adversarial attacks. Reinforcement Learning Toolbox allows us to quickly assess 5G vulnerabilities and identify mitigation methods.”

Reinforcement Learning Toolbox FAQs

Reinforcement Learning Toolbox is a MATLAB product that provides an app, functions, and a Simulink block for training policies using reinforcement learning algorithms including DQN, PPO, SAC, and DDPG for applications like robotics, resource allocation, and autonomous systems.

The toolbox supports model-free algorithms such as DQN, PPO, SAC, and DDPG, as well as model-based agents and custom algorithm development using provided templates.

Yes, the toolbox includes an RL Agent block that allows you to integrate reinforcement learning agents directly into Simulink models for single- or multi-agent training.

You can represent policies and value functions using deep neural networks or look-up tables, with support for architectures suggested by the toolbox or custom networks created with Deep Learning Toolbox and Deep Network Designer app.

The Reinforcement Learning Designer app lets you interactively design, train, and simulate reinforcement learning agents without writing code, then export trained agents to MATLAB for further use and deployment.

You can accelerate training by running parallel simulations on multiple CPUs, GPUs, computer clusters, or cloud resources using Parallel Computing Toolbox and MATLAB Parallel Server, with GPU support for gradient computation and prediction.

You can automatically generate optimized C, C++, and CUDA code to deploy trained policies on microcontrollers and GPUs, or use MATLAB Compiler and MATLAB Production Server to deploy as standalone applications or shared libraries.

Yes, you can import existing policies from frameworks like TensorFlow Keras and PyTorch through the ONNX model format using Deep Learning Toolbox.

You can model environments in MATLAB using templates or functions, in Simulink for complex dynamics, or interface with third-party modeling tools to interact seamlessly with reinforcement learning agents.

Try Reinforcement Learning Toolbox for free

Discover the possibilities today.


Ready to Buy?

Get pricing information and explore related products.

Are You a Student?

Your school may already provide access to MATLAB, Simulink, and add-on products through a campus-wide license.