文件名称:MatlabSharedLib_demo
介绍说明--下载内容均来自于网络,请自行研究使用
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.
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Debug
.....\MatlabSharedLib.exe
.....\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
.....\MatlabSharedLib.exe
.....\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