Support for __Int128 type for MATLAB to C++ interface

I am using R2022a and mingw64 framework (ver 8.1.0) to successfully create and build interface between MATLAB and C++ functions/class.
But when I use __int128 type parameter argument and use clibgen.generateLibraryDefinition() to create interface for same working function, I see following error:
Warning: Some C++ language constructs in the files for generating interface file are not supported and not imported.
Did not add 'test_s128' at test_fft.h:23.
  '__int128' is not a supported type.
Just wondering if it is supported in MATLAB to C++ link.
I am aware that native matlab does not support beyond int64 (except using fixed point toolbox and other similar technqiues).
MATLAB to C++ link type mapping documentation(As per following link) lists upto 64 bit only.
Has anybody been able to use __int128 in interface.

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

リリース

R2022a

質問済み:

2022 年 5 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by