inverted pendulum control with Q-learning (Reinforcement Learning)

1 visualizzazione (ultimi 30 giorni)
I want to control an inverterd pendulum with Q-table. I simulated pendulum with simulink, but ''matlab function block'' doesn't work correctly. I want that (phi, phi dot, x, x dot) give to matlab fcn block,after it, action calculate and apply to pendulum . have any one this project or know about my problem? thanks a lot.
  4 Commenti
Emmanouil Tzorakoleftherakis
Modificato: Emmanouil Tzorakoleftherakis il 1 Apr 2019
You can now do RL both in MATLAB and in Simulink with Reinforcement Learning Toolbox. In Simulink you can use the RL agent block (no need to use a MATLAB Fcn block).
See an example here.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by