RL agent error using simulink
13 views (last 30 days)
Show older comments
saeed ahmed mohamed
on 17 Sep 2020
Commented: anbang zhai
on 30 Apr 2021
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 Comment
anbang zhai
on 30 Apr 2021
老哥,你问题解决了吗?(如果解决了,怎么弄的?)
如果没解决,你的matlab版本是不是低了,换成2021a试一下,我在2021a中可以成功运行这个车-杆仿真了。
Accepted Answer
Emmanouil Tzorakoleftherakis
on 18 Sep 2020
Looks like when you call getActionInfo, instead of passing an environment or agent object as an argument, you are passing a double.
0 Comments
More Answers (0)
See Also
Categories
Find more on Programmatic Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!