How I can open a C ++ DLL file in MATLAB?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Helper
2018-10-17
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
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call C++ from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!