Effacer les filtres
Effacer les filtres

Why do I get the error message Undefined Function of Variable ' ' when I try to run my compiled executable?

1 vue (au cours des 30 derniers jours)
I am trying to create a stand-alone executable using the MATLAB Compiler. The MATLAB Code is loading a dll and works from within MATLAB. If the header is added as a separate file. I get the error message saying invalid extension type .h . If I add the entire folder instead of the .dll and .h separately, I get the error
message error using => ______
Undefined function or variable ' ' .

Réponses (1)

Murugavel Sivagnanam
Murugavel Sivagnanam le 12 Jan 2011
The issue could be due to the absence of the prototype file. Generate the prototype file with the header and add it in the folder and then try to build the executable.
For more information on Prototype files refer to :
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/loadlibrary.html#f103-540378

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by