I get this error when i try to load RL agents. Please Help!
1 view (last 30 days)
Show older comments
Accepted Answer
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')
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!