how to create own environment in reinforcement learning
1 次查看(过去 30 天)
显示 更早的评论
how to create own environment.
0 个评论
回答(1 个)
Emmanouil Tzorakoleftherakis
2019-7-23
To create a MATLAB environment type
rlCreateEnvTemplate('myEnv')
This will create a template m file based on the pendulum system. You can use this as a starting point and make changes as needed for your application.
For Simulink environments, you can use blocks to represent the system dynamics and reward, and use the Agent block to train and simulate the agent.
1 个评论
Kai Tybussek
2020-7-2
Is there some more documentation about custom environments exept this example? It´s not very detailed in terms of constraints for the different functions or properties. An Environment for a complete continuous Observation and Actionspace wld be very interesting to me, as well as an example on how to implement real hardware communication into an reinforcement learning algorithm. Like building a real cart-pole system and let the agent train in "real" scenarios.
best regards
Kai
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!