Hi ,
I have a simulation file of a soft robot in written in C , I want to use the simulation file as a model to train a DDPG agent to achive the desired task
which for now is reaching a desired point in the 3d space. I have no idea about how to use it.
Any help would highly be appreciated.

 Réponse acceptée

1 vote

Hello,
If you want to use the existing C code to train with Reinforcement Learning Toolbox, I would use the C caller block to bring the C code into Simulink. You can then follow the examples in RL Toolbox.
Just a note, just because you are using a model, this is not model-based RL, DDPG is model-free.

1 commentaire

Ajai Singh
Ajai Singh le 18 Mai 2021
Thank you so much, i'll try this and will let you know if it worked.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Reinforcement Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by