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

2 vues (au cours des 30 derniers jours)
Kushal Gowda N
Kushal Gowda N le 9 Juil 2021
Modifié(e) : Yongjian Feng le 10 Juil 2021

Réponse acceptée

Yongjian Feng
Yongjian Feng le 10 Juil 2021
Modifié(e) : Yongjian Feng le 10 Juil 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')

Plus de réponses (0)

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by