Hello,
I encountered the same problem on Windows 10 with MATLAB 2020b, update 8. Interestingly, on another machine with Windows 10, but with MATLAB 2020b, update 7, acados is running fine. Not sure if it’s only due to the MATLAB update or something else as well.
MinGW is identical in both versions, also 6.3.0.
I’m not too familiar with the compilation process, but it seems to me that this section is run instead of this one. Perhaps that is the correct execution path.
I managed to solve it by modifying the acados_tic
and acados_toc
functions to avoid calling clock_gettime
.
Copying this section instead of this and this section instead of this works for me and enables (hopefully correct) timings
Kind regards,
Josip