mex

How to build mex file directly in Visual Studio?

放肆的年华 提交于 2019-11-26 05:19:57
问题 I have a Visual Studio 2010 solution that contains a library of functions, and I would like to be able to use MATLAB as one of several possible front-ends to this library. Therefore, I would like Visual Studio to automatically generate a mex file when I build the solution, without having to export all my build options and paths to mexopts.bat and open MATLAB to build the file from there. I have seen several suggestions to achieve something similar, for example in these posts: Matlab 7.1+ and