This project demonstrates how to use Visual Studio .NET to build MATLAB MEX files. The project builds a MEX file from the yprime.c example MEX file that ships with MATLAB.
Peter Webb (2021). Yprime.zip (https://www.mathworks.com/matlabcentral/fileexchange/1549-yprime-zip), MATLAB Central File Exchange. Retrieved .
I have verified that this .Net solution also works for Visual Studio 2008 Express and does not require the downloading of an addition platform SDK. When you first open the solution in the 2008 version, you have to go through a conversion process, which requires files to be write-able. But afterwards, the solution built and ran as a Matlab DLL. The only problem that I had is that for some reason, the library libut.lib did not exist on my machine, (although libut.dll did). It did not appear to be necessary to build yprime.c, but is probably need for me detailed programs.
Very good! It's save my life! :-)
Inspired: Visulal Studio.Net Custom App Wizard
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!