matlab 转c++时报错
The specified code generation target is configured to generate C++, but the C-only compiler, LCC, is the default compiler. To allow code generation, you can deselect the 'Generate makefile' option. Or, to specify a C++ compiler, enter 'mex -setup' at the command prompt. To generate C code, set the target language to C in the configuration object.
解决办法:需要在GENERATE设置界面将Toolchain从默认的Automatically locate an installed toolchain 改成你安装的编译器对应的管理工具,然后重新生成即可。