How I can open a C ++ DLL file in MATLAB?
1 view (last 30 days)
Show older comments
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 Comment
Helper
on 17 Oct 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
Answers (1)
Sibin Dai
on 27 Sep 2019
Hello, did you solve this problem? I am having the same issue here.
0 Comments
See Also
Categories
Find more on Call C++ from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!