MATLAB: Training an inverted pendel with DDPG agent

inverted pendelreinforcement learning

I have created a neural network and DDPG agent using the MATLAB reinforcement learning toolbox to balance an inverted pendele.
I try to save trainingagent.But i take a following Error:
"Unable to write file a01_RL_pendel_neuesModell_nl: permission denied"
I will an agent 1 time trainieren and implement it in a pendel. So that it doesn't take time to learn every time.
I am absolutely grateful for any answer.
Thank you!

Best Answer

Can you try saving to a different folder? It looks like a permissions issue.