How to write my custom fn in multi agent systems?

3 views (last 30 days)
How to write my custom fn in multi agent systems?

Answers (1)

Ayush
Ayush on 31 Aug 2023
Hey Maha Mosalam,
I understand that you want to know how to write a custom function in multi agent systems.
Currently multi-agent training is only supported in Simulink. If you have a custom function created in MATLAB, you can copy and paste the core parts like the reward and step function into a “MATLAB Fcn” block in Simulink.
You can refer to documentation for more information on “MATLAB Fcn” block: Implement MATLAB Functions in Simulink with MATLAB Function Blocks - MATLAB & Simulink - MathWorks India
Hope this helps!

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!