Matlab相关问题
C与C++编译
1如何设置Matlab的C和C++编译器的路径,并对C和C++
文件进行编译:
% set the directory of compilors
% setenv('MW_MINGW64_LOC','C:\rtools40\mingw64')
% compile all c files
mex -setup
clear; clc;
mex partXY.c;
mex setSval.cpp;
mex updateSparse.c;
1如何设置Matlab的C和C++编译器的路径,并对C和C++
文件进行编译:
% set the directory of compilors
% setenv('MW_MINGW64_LOC','C:\rtools40\mingw64')
% compile all c files
mex -setup
clear; clc;
mex partXY.c;
mex setSval.cpp;
mex updateSparse.c;