RL agent error using simulink
조회 수: 11 (최근 30일)
이전 댓글 표시
saeed ahmed mohamed
2020년 9월 17일
댓글: anbang zhai
2021년 4월 30일
i got this error anyone has idea what is the problem ?
- 'C:\Program Files\MATLAB\R2020a\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\AgentWrapper.m' at line 154
- 'C:\Program Files\MATLAB\R2020a\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\AgentWrapper.m' at line 203
- 'C:\Program Files\MATLAB\R2020a\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\AgentWrapper.m' at line 258
- 'C:\Program Files\MATLAB\R2020a\toolbox\rl\rl\simulink\+rl\+simulink\+blocks\agentmaskinit.m' at line 11'.
- Undefined function 'getActionInfo' for input arguments of type 'double'.
this occurs when i run simulation on the simulink using RLagent and i create envirnoment (Model Workspace)
댓글 수: 1
anbang zhai
2021년 4월 30일
老哥,你问题解决了吗?(如果解决了,怎么弄的?)
如果没解决,你的matlab版本是不是低了,换成2021a试一下,我在2021a中可以成功运行这个车-杆仿真了。
채택된 답변
Emmanouil Tzorakoleftherakis
2020년 9월 18일
Looks like when you call getActionInfo, instead of passing an environment or agent object as an argument, you are passing a double.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!