Updated 27 Jun 2016
Video here: https://www.youtube.com/watch?v=YLAWnYAsai8
Matthew Sheen (2021). Reinforcement Learning Example - Pendulum Controller w/ Animation (https://github.com/mws262/MATLAB-Reinforcement-Learning-Pendulum), GitHub. Retrieved .
Before R2014b, you could not set or get figure properties with the dot notation. You had to use the set or get functions.
So, the line you mention would have to be axPend = get(f, 'Parent');. Probably quite a few other lines need to be converted.
It dose not work in my matlab version (R2014 a). Mistake occurs in line 124: axPend = f.Parent; How could I fix it? Any one can help?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!