compilé package MATLAB

compilé package MATLAB - Divers - Programmation

Marsh Posté le 04-09-2014 à 13:31:37    

Bonjour,  
tout d'abord, je n'y connais rien en programmation. J'essaye d'installer un package non officiel du logiciel MATLAB sur mac OS Maverick. Sur le README du package, il est écrit ceci :  
 
To run sparsenet, you will first need to compile the conjugate
gradient (cgf) routine so that it may be called through matlab.  To do
this, you will first need to build the library libnrfopt.a, which
contains the actual conjugate gradient subroutines.  Go to the nrf/
subdirectory and type
 
    make libnrfopt.a
 
Then go back up the to sparsenet directory and compile the cgf routine
so that it may be called by matlab.  First modify the makefile
definition for MEXT to be the proper suffix for the mex file for your
machine (for SGI's it is mexsg).  Then type
 
    make
 
If successful, this should create a file named cgf.xxx, where xxx is a
suffix that depends on what machine you are on.
 
Pour la première étape ( make libnrfopt.a) je crois que c'est bon. Mais je ne comprends pas le sens de la phrase "First modify the makefile definition for MEXT to be the proper suffix for the mex file for your machine (for SGI's it is mexsg)". Quelqu'un pourrait-il m'éclairer, en simplifiant le language ??
Merci d'avance !!
Julien

Reply

Marsh Posté le 04-09-2014 à 13:31:37   

Reply

Marsh Posté le 05-09-2014 à 18:19:17    

Dans le Makefile il doit y avoir une ligne du genre MEXT=blabla. Modifie la pour que MEXT égale l'extension des fichiers mex (binaire/exécutable matlab).
 
Au passage, quelqu'un a posé la question sur stackoverflow... http://stackoverflow.com/questions [...] t-mac-os-x

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed