How can I find the template for the predefined environment: "CartPole-Discrete"
5 次查看(过去 30 天)
显示 更早的评论
Benjamin Feaster
2020-2-3
回答: Emmanouil Tzorakoleftherakis
2020-2-6
To load this environment into matlab I can use this line of code:
env = rlPredefinedEnv("CartPole-Discrete")
The problem is, I am trying to make the same exact environment by creating a template using this mathworks link. When I try to load it and train a rl network it has problems plotting each iteration.
I was hoping instead I can find the actual template for these predefined environment to make my life easier.
The end goal is just learning how to make custom environments for my own projects.
0 个评论
采纳的回答
Emmanouil Tzorakoleftherakis
2020-2-6
The predefined environments are coded in an object-oriented way, so you may not find all the info in one file. I would start with the following:
edit rl.env.CartPoleDiscreteAction
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!