Missing target type "Generic Com Component" on matlab compiler screen

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?

回答 (1 件)

Adarshini K
Adarshini K 2022 年 7 月 21 日

0 投票

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:
  1. Install MinGW-w64 from the MathWorks File Exchange: MATLAB Support for MinGW-w64 C/C++ Compiler.
  2. Install Windows 10 SDK from the Windows Windows 10 SDK .
  3. 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 件のコメント

Philippe Raemy
Philippe Raemy 2022 年 7 月 22 日
I'm afraid this doesn't work for me. Tried on a fresh install of Matlab 2022a, with Windows SDK installed through Visual Studio 2022.
Installed MinGW via the matlab add-in manager.
I still see only the Excel addin compilation target type...

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB Compiler についてさらに検索

製品

リリース

R2020b

質問済み:

2022 年 7 月 21 日

コメント済み:

2022 年 7 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by