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.

 採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeCall C from MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by