Support for __Int128 type for MATLAB to C++ interface

2 views (last 30 days)
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.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!