安装程序完成后,我们需要配置一些环境变量,以便MATLAB能够找到MinGW-w64编译器。 打开MATLAB,点击"Home"选项卡,然后点击"Preferences"。 在弹出的窗口中,选择"MATLAB"选项,然后点击"General"。 在"MATLAB General Preferences"下,找到"Languages"选项,点击"MATLAB"。 在"MATLAB"下,找到"C++“选项,点击"Advanced”。 ...
At the MATLAB command line, command mex -setup and select one of the compilers that shows up.If no compilers show up, then you need to install a compiler. The appropriate compiler to install will depend upon your MATLAB version and your operating system and whether you are using...