Reinforcement learning toolbox multiple agents training

26 views (last 30 days)
Since the RL toobox doesn't natively support MADDPG (currently), I tried to train multiple agents, each of which is working based on separate set of data from the same plant. I was wondering if it is possible to train multiple agents using the RL toolbox Simultaeaously based on different portions of data observed from the same plant?

Answers (2)

Emmanouil Tzorakoleftherakis
As of R2020b release, Reinforcement Learning Toolbox lets you train multiple agents simultaneously in Simulink. Please see following examples for reference:
  1. Train Multiple Agents for Path Following Control
  2. Train Multiple Agents for Area Coverage
  3. Train Multiple Agents to Perform Collaborative Task
Hope that helps
  1 Comment
Amin Moradi
Amin Moradi on 4 Apr 2022
Is there a plan to let us use environements other than simulink models? My custom environement works fine in MATLAB but does not work in Simulink.

Sign in to comment.


Bhargavi Maganuru
Bhargavi Maganuru on 3 Apr 2020
I understand you are looking for a way to simulate a multi-agent Reinforcement Learning environment. Unfortunately, the Reinforcement Learning Toolbox currently does not support multi-agent scenario. You would need to write your custom environment and training algorithms for such scenario.
Due to large amounts of request on this feature, the development team is actively working on the multi-agent feature now and it will be available in a future release. I have linked your email address to their release plan, and you shall receive a notification automatically once there is an update regarding the progress.
If you decide to write your own environment and training algorithm, the following documentation would be a good place to start:
  4 Comments
FEI HU
FEI HU on 8 Aug 2021
  • I want to know if there is any update, if there is, please link my email address and let me know. many thanks.
Maha Mosalam
Maha Mosalam on 21 Sep 2022
what about the latest update to Multi agaent in matlab wiyh custom environment

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!