美文网首页
export .m code to c++ dll

export .m code to c++ dll

作者: lucientlau | 来源:发表于2018-02-28 18:04 被阅读0次

install mcc in matlab

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

相关文章

网友评论

      本文标题:export .m code to c++ dll

      本文链接:https://www.haomeiwen.com/subject/rqyixftx.html