Why do I receive the error message "??? Error using ==> perl" when using the LOADLIBRARY function from the MATLAB Interface to Shared Libraries?
1 view (last 30 days)
Show older comments
Why do I receive the error message
??? Error using ==> perl
when using the LOADLIBRARY function from the MATLAB Interface to Shared Libraries?
I receive the following error message after running the LOADLIBRARY command to load my DLL into MATLAB:
??? Error using ==> perl
System error: Use of uninitialized value at
C:\Applications\MATLAB6p5\toolbox\matlab\general\private\prototypes.pl line
599, <INFILE> chunk 71.
Use of uninitialized value at
C:\Applications\MATLAB6p5\toolbox\matlab\general\private\prototypes.pl line
601, <INFILE> chunk 71.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is a bug in the MATLAB 6.5 (R13) Interface to Shared Libraries in the way that it handles spaces before the semi-colon at the end of a structure declaration in the header file. Our development staff is investigating this issue.
Currently, to work around this issue, try removing the spaces before the semi-colon at the end of structure declarations.
0 Comments
More Answers (0)
See Also
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!