MATLAB: Can I build a MEX file within VisualStudio

MATLABmexvisualstudio

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?

Best Answer

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:
Related Question