Missing Windows header file in Matlab 2019a for MacOS

2 visualizaciones (últimos 30 días)
Adrian Arif Rahardja
Adrian Arif Rahardja el 30 de Jul. de 2019
Respondida: Dinesh Yadav el 30 de Oct. de 2019
Hi, I am running Matlab 2019a on Mac, and I need to connect it to mex C++ file, but it keeps failing with the error stating that " 'Windows.h' file not found". The whole mex and m files were originally created in Windows. Are there any way to fix this?

Respuestas (1)

Dinesh Yadav
Dinesh Yadav el 30 de Oct. de 2019
mex files that are generated while compiling are different for different operating systems. You can find more about that in this link.
For mac you will need to compile from beginning. One cannot use the windows version.

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by