Introduction - If you have any usage issues, please Google them yourself
Introduction
Some times it is required that we build a shared library (DLL) from an m-file. M-files are functions that are written in Matlab editor and can be used from Matlab command prompt. In m-files, we employ Matlab built-in functions or toolbox functions to compute something. In my past articles, I showed you some ways to use Matlab engine (vis. API, C++ class or Matlab engine API) for employing Matlab built-in functions, but what about functions that we develop? How can we use them in VC? Is there any interface? This article shows you an idea to employ your own Matlab functions.
Packet : 51622422matlabsharedlib_demo.zip filelist
Debug/
Debug/MatlabSharedLib.exe
Debug/MeanFunctionLib.dll
MatlabSharedLib.cpp
MatlabSharedLib.dsp
MatlabSharedLib.dsw
meanfunction.c
meanfunction.h
MeanFunction.m
meanfunctionlib.c
MeanFunctionLib.exp
meanfunctionlib.exports
meanfunctionlib.h
MeanFunctionLib.lib
meanfunctionlib.mlib
ReadMe.txt
StdAfx.cpp
StdAfx.h