Can I make a linux library on Windows using MinGW?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How do i make an arbitrary linux library on windows with MinGW that I can also use as a mex File?
What does Gnumex playing for a role?
0 comentarios
Respuestas (1)
Kaustubha Govind
el 4 de Feb. de 2011
Although MEX files are similar to shared libraries in their binary form, they have only one specific entry point (namely, mexFunction) and can have data only passed in as MATLAB-managed mxArrays. Therefore, an arbitrary shared library cannot function as a MEX-file, but you can create a wrapper MEX function to call into a shared library.
I am not familiar with Gnumex, but since it is developed by a third-party, use it with a pinch of salt.
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Support for MinGW-w64 C/C++ 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!