export .m code to c++ dll
324 ワード
install mcc in matlab
before do this u should install VS software, e.g. VS2010. or the setup process can find the compiler.
use mcc build .m
Reference
mbuild -setup
before do this u should install VS software, e.g. VS2010. or the setup process can find the compiler.
use mcc build .m
mcc -v -W cpplib:MyNewAdd -T link:lib MyNewAdd.m
Note: I do this in MATLAB2010
Reference