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 :

Toolbox WMTSA pour modwt


Sujet :

MATLAB

  1. #1
    Membre à l'essai
    Femme Profil pro
    Elève ingénieur
    Inscrit en
    Mai 2013
    Messages
    16
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Elève ingénieur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2013
    Messages : 16
    Points : 23
    Points
    23
    Par défaut Toolbox WMTSA pour modwt
    Bonjour,
    SVP qui a travaillé sur le toolbox WMTSA ? J'ai pas compris comment éditer 'startup.m', car j'ai édité les path nécessaires et malgré ça quand je fais make all pour compiler les mex files.. j'ai cette erreur

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    ??? Error using ==> mex at 207
    Unable to complete successfully.
     
    Error in ==> make>make_exe at 73
            eval(['mex ', cmd_str]);
     
    Error in ==> make at 27
      make_exe(target_list);

  2. #2
    FLB
    FLB est déconnecté
    Modérateur
    Avatar de FLB
    Homme Profil pro
    Ing. Aérospatiale
    Inscrit en
    Juin 2003
    Messages
    770
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France

    Informations professionnelles :
    Activité : Ing. Aérospatiale
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Juin 2003
    Messages : 770
    Points : 1 185
    Points
    1 185
    Par défaut
    Salut,
    ce message d'erreur ne parle pas trop.
    As tu configuré ton compilateur (tape mex -setup)? Sur quel version de Matlab travaille tu? 32, 64 bits? Windows ou Linux?
    Aussi montre nous le contenu de cmd_str (utilise le débuggueur si besoin pour en trouver la valeur) pour nous donner une meilleur idée de ce que tu souhaites faire.

  3. #3
    Membre à l'essai
    Femme Profil pro
    Elève ingénieur
    Inscrit en
    Mai 2013
    Messages
    16
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Elève ingénieur
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Mai 2013
    Messages : 16
    Points : 23
    Points
    23
    Par défaut
    bonsoir
    merci pour votre réponse
    j'utilise MATLAB r2008a sur Windows 64 bits
    pour le mex -setup il m'a demandé de choisir un compiler et j'ai choisi Microsoft Visual C++ 8.0

    j'ai eu cette erreur
    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
    "Warning: MEX requires that the Microsoft Visual C++ 8.0 directories  
    "VC" and "Common7" be located within the same parent directory. 
    MEX setup expected to find directories named "Common7" and "VC" in the directory:  
    "C:\Program Files (x86)\Microsoft Visual Studio 8". 
     
    Trying to update options file: C:\Users\toch\AppData\Roaming\MathWorks\MATLAB\R2008a\mexopts.bat 
    From template:              C:\PROGRA~1\MATLAB\R2008a\bin\win64\mexopts\msvc80opts.bat 
     
    Done . . . 
     
    ************************************************************************** 
      Warning: The MATLAB C and Fortran API has changed to support MATLAB 
               variables with more than 2^32-1 elements.  In the near future 
               you will be required to update your code to utilize the new 
               API. You can find more information about this at: 
               <a href="http://www.mathworks.com/support/solutions/data/1-5C27B9.html?solution=1-5C27B9" target="_blank">http://www.mathworks.com/support/sol...ution=1-5C27B9</a> 
               Building with the -largeArrayDims option enables the new API. 
    **************************************************************************
    Après quand j'ai fait make all il m'a sorti
    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
    Compiling:  mex  modwtj.c...
      Error: Could not find the compiler "cl" on the DOS path. 
             Use mex -setup to configure your environment properly. 
     
     
      C:\PROGRA~1\MATLAB\R2008A\BIN\MEX.PL: Error: Unable to locate compiler. 
     
    ??? Error using ==> mex at 207
    Unable to complete successfully.
     
    Error in ==> make>make_exe at 73
            eval(['mex ', cmd_str]);
     
    Error in ==> make at 27
      make_exe(target_list);
    Je m'excuse si c'est un peu long

  4. #4
    FLB
    FLB est déconnecté
    Modérateur
    Avatar de FLB
    Homme Profil pro
    Ing. Aérospatiale
    Inscrit en
    Juin 2003
    Messages
    770
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : France

    Informations professionnelles :
    Activité : Ing. Aérospatiale
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Juin 2003
    Messages : 770
    Points : 1 185
    Points
    1 185
    Par défaut
    Salut,
    on dirait bien que ton compilateur est mal installé.
    Je te conseil de bien lire la doc matlab associée :
    http://www.mathworks.fr/support/comp...html?sec=win64
    En particulier cette section :
    Both Microsoft Visual Studio 2008 and Windows Software Development Kit (SDK) 6.1 must be installed. When installing Microsoft Visual Studio, you must choose "X64 Compilers and Tools" when installing Microsoft Visual Studio; this is not selected by default.
    Il faut que tu ais installé visual studio avant Matlab. Ensuite le mex -setup te permettra de bien configurer ton compilateur Matlab.

Discussions similaires

  1. ToolBox pour MATLAB
    Par Hamza_Am dans le forum MATLAB
    Réponses: 4
    Dernier message: 23/04/2012, 17h17
  2. Réponses: 2
    Dernier message: 12/03/2012, 22h18
  3. Réponses: 3
    Dernier message: 08/01/2009, 08h40
  4. Toolbox pour traitement vidéo
    Par ZAYDOUN dans le forum Langages de programmation
    Réponses: 3
    Dernier message: 22/07/2008, 21h52

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