Avoir du mal à se connecter à Matlab!<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />J'essaie d'utiliser les fonctions matlab via JMP, mais je ne parviens même pas à le faire parler à matlab sous Mac OS (10.12). Lorsque je règle MATLABROOT sur "/ Applications / MATLAB_R2011b",
la commande MATLAB connect renvoie UNKNOWN. Quand je règle le MALABROOT à "/Applications/MATLAB_R2011b.app", c'est ce que matlab est me dire quand je lance le matlabroot recommander au sein de Matlab, alors je reçois
Echec du chargement de l'extension SAS "tkintml" lors de l'accès ou de l'évaluation de 'Glue', Names Default To Here (1); / * ### * / MATLABConnection = MATLAB Connect (Echo); / * ### * /
x = MatlabConnection << est connecté; / * ### * / Show (x) / * ### * /;
Je ne trouve rien sur l'extension SAS.
Toute aide serait grandement appréciée. Merci Yves
Re: Avoir du mal à se connecter à Matlab!Je suis heureux d'entendre que cela fonctionne mais je suis désolé que vous rencontriez maintenant un problème différent.
Je ne suis pas sûr de ce qui se passe là-bas. Il est probablement préférable d’ouvrir une piste avec notre département de support technique en envoyant un courrier électronique à support@jmp.com .
Postez ici lorsque vous trouvez une résolution.
-Jeff
Re: Avoir du mal à se connecter à Matlab!Merci beaucoup Jeff, cela a résolu la plupart de mes problèmes. Je peux maintenant demander à JMP de parler correctement à Matlab. Cependant, si à la fin d'un script, j'ai une instruction Matlab term () (qui mettra fin à la session correctement), alors l'appel à l'instruction matlab init () pour rouvrir la connexion ne fonctionnera pas. Donc, si vous essayez d'exécuter un script simple deux fois de suite, le premier fonctionnera mais le second ne fonctionnera pas car il n'a pas été en mesure de rétablir une connexion avec matlab. Ceci, cependant, n’a peut-être rien à voir avec mon problème initial.
Merci encore, Yves
Re: Avoir du mal à se connecter à Matlab!Désolé pour la difficulté.
Avez-vous essayé les instructions ici :
To install MATLAB on Macintosh:Invoke the Automator application:Select Finder ► Go ► Applications or...Double click the Automator applicationSelect the Application document type and click Choose.In the Actions view, expand the Library tree and select Utilities.In the Utilities actions column, double-click Run Shell Script.In the Run Shell Script editor area, replace the current text with the following text:
export MATLABROOT="{Path to your MATLAB installation}" export DYLD_LIBRARY_PATH="$MATLABROOT/bin/maci64:$MATLABROOT/sys/os/maci64:$DYLD_LIBRARY_PATH" export PATH="$MATLABROOT/bin:$MATLABROOT/bin/maci64:$PATH" /usr/bin/env /usr/bin/open -a {Path to your JMP installation}
Set the Shell option to /bin/bash.Set the Pass input option to as arguments.Replace {Path to your MATLAB installation} with the path of your MATLAB installation, for example, /Applications/MATLAB_R2013a.app.Replace {Path to your JMP installation} with the path of your JMP installation, for example, /Applications/JMP Pro 11.app.Save the Automation application to your desktop.To use the JMP MATLAB support, you must invoke JMP using this application to insure proper setup of the MATLAB runtime environment.