I get this error when i try to load RL agents. Please Help!

1 view (last 30 days)

Accepted Answer

Yongjian Feng
Yongjian Feng on 10 Jul 2021
Edited: Yongjian Feng on 10 Jul 2021
Inside pfcagent.mat, the variable saved is not called "saved_agent". It must be called something else.
That is why the first line of code failed to find saved_agent from pfcagent.mat, and the second line of code generates the "Unrecognized..." error.
If you don't remember what variable name is used in pfcagent.mat, try this
listOfVariables = who('-file', 'pfcagent.mat')

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!