Error when I run the same file again in matlab

Hi :wave:

I get the following error when I run the same file again in matlab
in windows \build\ocp_get.mexw64: Permission denied
I can run the file by deleting the build folder after closing matlab, but it is a pain to close matlab every time, so please give me a solution.
Also, in acados_ocp.m, at line 150
[‘ocp_create.’, mexext]) is not ocp_get?

Thanks in advance.

Hey,

for me a clear functions command in the header does the job.

1 Like