Why do I receive the error message "??? Error using ==> perl" when using the LOADLIBRARY function from the MATLAB Interface to Shared Libraries?

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.

 Risposta accettata

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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by