1.安装指定版本的MinGW-w64。html
2.在matlab命令窗口中 mex -setup C++post
3.编译 make(要进入有c文件的目录)htm
转载于:https://www.cnblogs.com/drinkMilk/p/10524267.htmlblog