loadlibrary throws warnings in 2019b but not in 2017b when loading same DLL

3 次查看(过去 30 天)
I'm getting a warning when I load my DLL file using 2019b:
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:\Program Files\MATLAB\R2019b\toolbox\matlab\general\private\prototypes.pl line 912.
When I load the exact same DLL using 2017b, no warning
The library loads in 2019b but when I try to use the library using the calllib function, Matlab dies (get a pop-up that say Matlab encountered an error and had to close). When I do the same call in 2017b, my DLL runs just fine.
I'm wondering if the two are related? Does anyone know or have a fix for this?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by