How can I see which version of MinGW I am using with MATLAB/Simulink?

52 Ansichten (letzte 30 Tage)
How can I see which version of MinGW I am using with MATLAB/Simulink?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 29 Jul. 2024
Bearbeitet: MathWorks Support Team am 29 Aug. 2024
Try the following:
>>myCCompiler = mex.getCompilerConfigurations('C','Selected')
The output should look like this:
myCCompiler = 
  CompilerConfiguration with properties:
             Name: 'MinGW64 Compiler (C)'
     Manufacturer: 'GNU'
         Language: 'C'
          Version: '6.3.0'         Location: 'C:\ProgramData\MATLAB\SupportPackages\R2018b\3P.instrset\mingw_w64.instrset'
        ShortName: 'mingw64'
         Priority: 'E'
          Details: [1×1 mex.CompilerConfigurationDetails]
       LinkerName: 'C:\ProgramData\MATLAB\SupportPackages\R2018b\3P.instrset\mingw_w64.instrset\bin\gcc'
    LinkerVersion: ''
           MexOpt: 'C:\Users\rspence\AppData\Roaming\MathWorks\MATLAB\R2018b\mex_C_win64.xml'
Please run the below command in the command window of installed MATLAB to get release specific documentation:
>> web(fullfile(docroot, 'matlab/ref/mex.getcompilerconfigurations.html'))
Please follow the below link to search for the required information regarding the current release:

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by