Borrar filtros
Borrar filtros

Can I build a MEX file within VisualStudio?

5 visualizaciones (últimos 30 días)
Damien LEFEVRE
Damien LEFEVRE el 14 de Dic. de 2016
Comentada: Bart McCoy el 28 de Sept. de 2020
I would like to be able to develop a MEX file in VisualStudio.
From mex commands lines I'm missing the ability to have a vs project file, do the linkage have code completion for large framework like Qt, etc.
Looking at the a mex export dump there's only 2 functions:
  1. 0 0000100A mexFunction = @ILT+5(mexFunction)
  2. 1 00001005 mexfilerequiredapiversion = @ILT+0(mexfilerequiredapiversion)
I'm missing the mexfilerequiredapiversion function prototype.
Has anyone tried?

Respuesta aceptada

Sangeetha Jayaprakash
Sangeetha Jayaprakash el 16 de Dic. de 2016
I assume that you would like to build a MEX file in Visual Studio IDE.
Refer this link for information on how to compile a MEX file in Visual Studio:
  2 comentarios
Josh G.
Josh G. el 4 de Abr. de 2019
This link is dead. Is there a currently-working link?
Bart McCoy
Bart McCoy el 28 de Sept. de 2020
I second that.... link is dead.
If there is good help for this process, it would be great to see.
I'm using Visual Studio 2017, and when I create a new project in Visual Studio, I found a MEX function template. I'll try to summarize what I find out, but if someone knows something, that would be helpful.

Iniciar sesión para comentar.

Más respuestas (1)

rsating
rsating el 23 de Jul. de 2019
https://www.mathworks.com/matlabcentral/answers/377799-compiling-mex-files-without-the-mex-command

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by