How I can open a C ++ DLL file in MATLAB?

1 visualizzazione (ultimi 30 giorni)
Sang Bin Jeong
Sang Bin Jeong il 15 Ott 2018
Risposto: Sibin Dai il 27 Set 2019
I want to open a dll file in matlab.
LoadLibrary ('filename');
If I enter, an error occurs.
The contents of the error are as follows.
[notfound,warnings]=loadlibrary(...)
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/struct([^;,{(]*){ <-- HERE (.*?)\}([^;])*;/ at C:\ProgramFiles\MATLAB\R2018a\toolbox\matlab\general\private\prototypes.pl line 912.
Type 'HANDLE' was not found. Defaulting to type error.
Found on line 12 of input from line 23 of file 'headerfile path'
.
.
.
  1 Commento
Helper
Helper il 17 Ott 2018
Please refer to the following documentation link: https://www.mathworks.com/help/matlab/matlab_external/limitations-to-shared-library-support.html Build C++ MEX function from the source file would be a workaround

Accedi per commentare.

Risposte (1)

Sibin Dai
Sibin Dai il 27 Set 2019
Hello, did you solve this problem? I am having the same issue here.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by