Support for __Int128 type for MATLAB to C++ interface

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by