Error Invalid MEX File after Installation

Hi,

I’m using the Matlab Interface on a Windows 10.
I followed the installation process https://docs.acados.org/installation/index.html#windows-for-use-with-matlab, which goes smoothly, however when I try to run minimal_example_ocp I get

Building with 'MinGW64 Compiler (C)'.
MEX completed successfully.
acados MEX interface compiled successfully
Error using acados_ocp (line 189)
Exception:
	MATLAB:mex:ErrInvalidMEXFile
	Invalid MEX-file 'E:\tools\acadosNeu\acados\examples\acados_matlab_octave\getting_started\build\ocp_create.mexw64': The specified module could not be found. 

Error in minimal_example_ocp (line 107)
ocp = acados_ocp(ocp_model, ocp_opts);

Error in run (line 96)
evalin('caller', [script ';']);

It seems like the mex files are missing some dependencies to execute.
I’m working on a university lab computer, that uses Matlab 2016b (rather old), so I’m wondering if that’s causing the trouble - is there any known minimal Matlab requirement? (The installation guideline just says “recent”).

Thanks a lot!
Anne

Hi Anne,

I have Matlab R2019a and tested acados on Windows with that version.
And I know of a person who used it with Matlab R2017b on Windows.

Cheers,
Jonathan