How can I create a simulation environment with reinforcement learning?

I want to create sa simulation environment,and create action and state ? Should I use rlFunctionEnv to create my environment?

 Accepted Answer

rlFunctionEnv can be used to create an environment where the dynamics are in a MATLAB function. You could also create an environment where the dynamics are in Simulink. Take a look at the following links for more details:
MATLAB environment:
Simulink environment:

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!