Comment appeler une dll dans MAtlab
julianross
-
alexis02240 Messages postés 2 Date d'inscription Statut Membre Dernière intervention -
alexis02240 Messages postés 2 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Voila j'aimerai faire appel à une dll (qui a été faite en Fortran) dans un fichier m file.
J'ai voulu convertir ma dll en fichier max files mais voila le message d'erreur que j'ai :
_________________________________
mex PHASF6_DLL.lib
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2007b\sys\lcc
[0] None
Compiler: 1
Trying to update options file: C:\Users\julius\AppData\Roaming\MathWorks\MATLAB\R2007b\mexopts.bat
From template: C:\PROGRA~1\MATLAB\R2007b\bin\win32\mexopts\lccopts.bat
Done . . .
Warning: Renaming "PHASF6_DLL.dll" to "PHASF6_DLL.dll.old" to avoid name conflicts.
Specified export _mexFunction is not defined
Missing exports. Aborting
***************************************************************************
Warning: The file extension of 32-bit Windows MEX-files was changed
from ".dll" to ".mexw32" in MATLAB 7.1 (R14SP3). The generated
MEX-file will not be found by MATLAB versions prior to 7.1.
Use the -output option with the ".dll" file extension to
generate a MEX-file that can be called in previous versions.
For more information see:
MATLAB 7.1 Release Notes, New File Extension for MEX-Files on Windows
***************************************************************************
C:\PROGRA~1\MATLAB\R2007B\BIN\MEX.PL: Error: Link of 'PHASF6_DLL.mexw32' failed.
??? Error using ==> mex at 208
Unable to complete successfully.
??? Invalid MEX-file 'C:\Users\julius\Desktop\ARCELOR\ROT_dll_0206\APPEL\PHASF6_DLL.mexw32':
C:\Users\julius\Desktop\ARCELOR\ROT_dll_0206\APPEL\PHASF6_DLL.mexw32 n'est pas une application
Win32 valide.
______________________________
Merci de m'aider
Voila j'aimerai faire appel à une dll (qui a été faite en Fortran) dans un fichier m file.
J'ai voulu convertir ma dll en fichier max files mais voila le message d'erreur que j'ai :
_________________________________
mex PHASF6_DLL.lib
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2007b\sys\lcc
[0] None
Compiler: 1
Trying to update options file: C:\Users\julius\AppData\Roaming\MathWorks\MATLAB\R2007b\mexopts.bat
From template: C:\PROGRA~1\MATLAB\R2007b\bin\win32\mexopts\lccopts.bat
Done . . .
Warning: Renaming "PHASF6_DLL.dll" to "PHASF6_DLL.dll.old" to avoid name conflicts.
Specified export _mexFunction is not defined
Missing exports. Aborting
***************************************************************************
Warning: The file extension of 32-bit Windows MEX-files was changed
from ".dll" to ".mexw32" in MATLAB 7.1 (R14SP3). The generated
MEX-file will not be found by MATLAB versions prior to 7.1.
Use the -output option with the ".dll" file extension to
generate a MEX-file that can be called in previous versions.
For more information see:
MATLAB 7.1 Release Notes, New File Extension for MEX-Files on Windows
***************************************************************************
C:\PROGRA~1\MATLAB\R2007B\BIN\MEX.PL: Error: Link of 'PHASF6_DLL.mexw32' failed.
??? Error using ==> mex at 208
Unable to complete successfully.
??? Invalid MEX-file 'C:\Users\julius\Desktop\ARCELOR\ROT_dll_0206\APPEL\PHASF6_DLL.mexw32':
C:\Users\julius\Desktop\ARCELOR\ROT_dll_0206\APPEL\PHASF6_DLL.mexw32 n'est pas une application
Win32 valide.
______________________________
Merci de m'aider
A voir également:
- Comment appeler une dll dans MAtlab
- Appeler en privé - Guide
- Nommez une application d'appel vidéo ou de visioconférence - Guide
- Je peux appeler mais pas recevoir d'appel sur mon portable - Forum Téléphones & tablettes Android
- Advapi32.dll ccleaner - Forum Windows 7
- Ecouter le repondeur de quelqu'un sans l'appeler ✓ - Forum Mobile