RL agent error using simulink
11 次查看(过去 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!