Missing target type "Generic Com Component" on matlab compiler screen
Show older comments
I've got a valid matlab license with compiler, but I see only one target file type in the compiler options. What am I missing?

Answers (1)
Adarshini K
on 21 Jul 2022
To generate Generic COM components, you will need a combination of MinGW 5.3.0 compiler and Windows 10 SDK kit.
In order to install these, follow the steps mentioned below:
- Install MinGW-w64 from the MathWorks File Exchange: MATLAB Support for MinGW-w64 C/C++ Compiler.
- Install Windows 10 SDK from the Windows Windows 10 SDK .
- Run the following command from the MATLAB command window to test if the combination of “MinGW and Windows 10 SDK” is being detected by MATLAB.
mbuild -setup -client mbuild_com
1 Comment
Philippe Raemy
on 22 Jul 2022
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!