필터 지우기
필터 지우기

inverted pendulum control with Q-learning (Reinforcement Learning)

조회 수: 9 (최근 30일)
saeede soleymani
saeede soleymani 2015년 11월 27일
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
Sara Hamdan
Sara Hamdan 2018년 7월 5일
I am having also the same problem. After a lot of trials, I found that we can't do RL in Matlab function block, so I did it in m-file and I called the Simulink file from the m-file. Did anyone try this? we can discuss the results.
Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2019년 4월 1일
편집: Emmanouil Tzorakoleftherakis 2019년 4월 1일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by