HANDLES not supported by 'clibgen'

1 visualización (últimos 30 días)
RAM KISHORE ARUMUGAM
RAM KISHORE ARUMUGAM el 11 de Nov. de 2019
I am trying to load a c++ library in to matlab, so that I can use several functions from it. I am using clibgen to execute this.
Since I don't have much experience in C++, I opted to use this function instead of writing wrapper. However, it seems that MATLAB doesnot support c++ Handles. Is there anyway around it?
%%CODE
clibgen.generateLibraryDefinition(headerFiles,"include",includes,"Libraries",libraries,'OutputFolder', outputFolder,'Verbose',true,'PackageName','NurAPI');
%% Error
Did not add 'NurApiCustomCmd' at NurAPI.h:4134.
  'HANDLE' is not a supported type.

Respuestas (0)

Categorías

Más información sobre Build MATLAB Interface to C++ Library en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by