Support for __Int128 type for MATLAB to C++ interface

조회 수: 2 (최근 30일)
Nitin Jain
Nitin Jain 2022년 5월 23일
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