Support for __Int128 type for MATLAB to C++ interface

2 visualizaciones (últimos 30 días)
Nitin Jain
Nitin Jain el 23 de Mayo de 2022
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.

Respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by