matlab compiler
Répondre à la discussion
Affichage des résultats 1 à 3 sur 3

matlab compiler



  1. #1
    ABN84

    Arrow matlab compiler


    ------

    bonsoir,
    je suis entrain d'ecrire un programme java qui devrait, entre autre, contenir un module de calcul elements finis.
    j'ai trouvé une bibliotheque d'un solveur fem en matlab à cette adresse(openfem): http://www-rocq.inria.fr/OpenFEM/art...?id_article=31
    dans la doc, il est ecrit que celui-ci comporte un module compatible avec le mailleur GMSH disponible ici: http://www.geuz.org/gmsh/bin/Windows....7-Windows.zip
    et dont la source est disponible ici: http://www.geuz.org/gmsh/src/gmsh-2.0.7-source.tgz

    en suivant ces instructions:
    To install OpenFEM you need to:

    1/ Unzip the distribution to the target location of your choice <installdir>.
    Typically <installdir>=$MATLAB/toolbox, or if your are a SDT user, choose
    <installdir>=$MATLAB/toolbox/sdt.
    Unzip will create a subdirectory <installdir>/openfem.

    2/ For UNIX user, notice that you usually need to become superuser
    to have write permission in the $MATLAB subdirectories. You can easily
    circumvent this difficulty by unpacking the distribution in another
    directory where you have write permission. Note that you will need
    a HTML browser to navigate within the documentation located
    in <installdir>/openfem/html.

    3/ Include OpenFEM in your default path. For this, launch Matlab and
    change directories to <installdir>/openfem, then run the path check:

    ofutil('path')

    Then save your updated path for future Matlab sessions or include the above
    lines in your startup.m file, see matlabrc, (or have your system administrator
    modify your $MATLAB/toolbox/local/pathdef.m file).

    4/ Move the openfem/html directory to $MATLAB/help/toolbox/openfem if you want
    it to be seen by MATLAB (cf. 2/).

    5/ Compiling
    For proper operation of OpenFEM, you should have three mex files (compiled
    dynamically linked libraries). of_mk is the gateway interface for
    FORTRAN routines of the OpenFEM library. sp_util groups C routines
    used for model assembly and associated functions. nopo2sd provides
    translation between the NOPO format of MODULEF and the OpenFEM format.

    You can compile these functions using the associated ofutil commands
    (help ofutil). Or the combined ofutil('mexall').

    You are done !

    You will find demos of OpenFEM capabilities in the openfem/demos and
    openfem/test directories.



    je suis arrivé à transformer les scripts *.m en sources *.c et *.obj

    comment pourrais je faire pour transfourmer ces c et obj en un et seul exe?

    mon but etant de faire du java, je prefererais creer des classes java plutot qu'appeler des exe. matlab me permet normalement de transformer des *.m en java grace à la commande "mcc -m", comment, de la meme facon que j'ai créé des codes c à partir de cete biblio, je pourrais en faire des/une classe(s) java?

    disposant des codes *.cpp de gmsh, je voudrais des transformer en java?

    merci

    -----
    "Engineering is the art of making what you want from what you get"

  2. #2
    ABN84

    Re : matlab compiler

    la commande qui m'a permis de compiler les m en c est: ofutil('mexall')

    le contenu du fichier ofutil est:
    Fichiers attachés Fichiers attachés
    "Engineering is the art of making what you want from what you get"

  3. #3
    ABN84

    Re : matlab compiler

    bonsoir,
    quecun pourrait-il m'aider à y voir plus clair svp?
    que dois-je faire pour obtenir un .exe?
    merci
    Fichiers attachés Fichiers attachés
    "Engineering is the art of making what you want from what you get"

Discussions similaires

  1. CCS compiler
    Par sdow dans le forum Électronique
    Réponses: 0
    Dernier message: 16/09/2007, 20h27
  2. compiler source C
    Par ABN84 dans le forum Logiciel - Software - Open Source
    Réponses: 23
    Dernier message: 01/05/2007, 03h46
  3. kaspersky et matlab compiler
    Par ABN84 dans le forum Internet - Réseau - Sécurité générale
    Réponses: 1
    Dernier message: 14/04/2007, 20h44
  4. re-compiler? (logiciel R)
    Par kinette dans le forum Logiciel - Software - Open Source
    Réponses: 12
    Dernier message: 25/01/2006, 09h14
  5. Compiler PicBasic
    Par inviteec895663 dans le forum Électronique
    Réponses: 0
    Dernier message: 08/01/2003, 13h40
Dans la rubrique Tech de Futura, découvrez nos comparatifs produits sur l'informatique et les technologies : imprimantes laser couleur, casques audio, chaises gamer...