MATLAB Answers

reinforcement learning, 3D simulink model

1 view (last 30 days)
Fawad Salam
Fawad Salam on 26 Nov 2020
Commented: Fawad Salam on 8 Dec 2020
how to built a reset function of your 3D simulink model in reinforcement learning? i am getting state from rectangular joint in model now after every episode i have to reset the simulink model if my requirement have not been meet those requirment is based on state. my question is how can i reset the simulink model in model script?

Answers (1)

Emmanouil Tzorakoleftherakis
There is nothing specific you need to do for a 3d Simulink model. You can follow any other Simulink example from Reinforcement Learning Toolbox. One example that sounds relevant is this one. I would take a look at the 'walkerResetFcn' script.
Fawad Salam
Fawad Salam on 8 Dec 2020
how can i used the ouput state signal coming from joint in if else comparator check? because i want to reset the model basics on the output state value.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!