第一步:在该链接中下载插件https://ww2.mathworks.cn/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler 第二步:将下载到的插件”mingw.mlpkginstall“保存到MATLAB安装文件夹中; 第三步:将该命令语句”uiopen(‘C:\matlab\mingw.mlpkginstall’,1)“在MATLAB运行;