IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

MATLAB Discussion :

charger un dll dans MATLAB


Sujet :

MATLAB

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Juillet 2010
    Messages
    84
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2010
    Messages : 84
    Points : 41
    Points
    41
    Par défaut charger un dll dans MATLAB
    Bonjour,

    J'essaie d'utiliser la fonction loadlibrary pour charger un modèle dll dans Matlab.
    j'ai le fichier motor.dll et le code C model.h.
    Par contre le fichier fait appel à d'autres fichiers C qui ne sont pas dans le même répertoire.
    Du coup j'obtiens des messages type
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     In loadlibrary at 458
    Warning: The function 'xxx' was not found in the library
    Comment puis-je corriger cela?

    Merci,

  2. #2
    Membre du Club
    Profil pro
    Inscrit en
    Juillet 2010
    Messages
    84
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2010
    Messages : 84
    Points : 41
    Points
    41
    Par défaut
    Voici les messages que j'obtiens:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    >> loadlibrary('N:\FMK_VerifSw\ToolSimu\Delivery\_PrjToolSimu\Models\Eeprom_D01\eeprom.dll','model.h')
    Warning: Warnings messages were produced while parsing.  Check the functions
    you
    intend to use for correctness.  Warning text can be viewed using:
    [notfound,warnings]=loadlibrary(...) 
    > In loadlibrary at 396
    Warning: The data type 'error' used by structure Variable does not exist.  The
    structure may not be usable. 
    > In loadlibrary at 458
    Warning: The function 'tvariableTable' was not found in the library 
    > In loadlibrary at 458
    Warning: The function 'pFileDialogEEPROM' was not found in the library 
    > In loadlibrary at 458
    Warning: The function 'hFileDebuggee' was not found in the library 
    > In loadlibrary at 458
    Warning: The data type 'error' used by function WriteMDL does not exist. 
    > In loadlibrary at 458
    Warning: The data type 'error' used by function ReadMDL does not exist. 
    > In loadlibrary at 458
    Warning: The data type 'error' used by function CallMDL does not exist. 
    > In loadlibrary at 458
    Warning: The function 'Read_Eeprom' was not found in the library 
    > In loadlibrary at 458
    Warning: The function 'Write_Eeprom' was not found in the library 
    > In loadlibrary at 458
    Warning: The function 'Change_Eeprom' was not found in the library 
    > In loadlibrary at 458

Discussions similaires

  1. charger une dll sous matlab
    Par valdano dans le forum MATLAB
    Réponses: 1
    Dernier message: 03/05/2014, 08h03
  2. Charger des donnée dans MATLAB
    Par karika dans le forum MATLAB
    Réponses: 1
    Dernier message: 24/02/2013, 11h03
  3. Réponses: 12
    Dernier message: 12/06/2009, 16h55
  4. Réponses: 3
    Dernier message: 24/11/2006, 11h12
  5. Réponses: 5
    Dernier message: 14/05/2006, 12h57

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo