Tener problemas para conectarse a Matlab!<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />Estoy tratando de usar las funciones de matlab a través de JMP pero ni siquiera puedo hablar con matlab de Mac OS (10.12). Cuando configuro MATLABROOT en "/ Applications / MATLAB_R2011b",
el comando de conexión de MATLAB devuelve DESCONOCIDO. Cuando puse MALABROOT en "/Aplicaciones/MATLAB_R2011b.app", que es lo que es matlab diciéndome cuando ejecuto el elogio matlabroot dentro de Matlab, entonces me sale
La carga de "tkintml" de la extensión SAS falló en el acceso o evaluación de 'Pegamento', nombres predeterminados aquí (1); / * ### * / MATLABConnection = MATLAB Connect (Echo); / * ### * /
x = MatlabConnection << está conectado; / * ### * / Show (x) / * ### * /;
No puedo encontrar nada acerca de la extensión SAS.
Cualquier ayuda sería muy apreciada. Gracias yves
Re: Tener problemas para conectarse a Matlab!Me alegra saber que funcionó, pero lamento que ahora tenga un problema diferente.
No estoy seguro de lo que está pasando allí. Probablemente sea mejor abrir una pista con nuestro departamento de soporte técnico enviando un correo electrónico a support@jmp.com .
Publica de nuevo aquí cuando encuentres una resolución.
-Jeff
Re: Tener problemas para conectarse a Matlab!Muchas gracias Jeff, eso solucionó la mayor parte de mi problema. Ahora puedo hacer que JMP hable con Matlab correctamente. Sin embargo, si al final de una secuencia de comandos tengo un término Matlab term () (que terminará la sesión correctamente), entonces la invocación a matlab init () para volver a abrir la conexión no funcionará. Entonces, si se intenta ejecutar un script simple dos veces seguidas, el primero funcionará, pero el segundo no, porque no pudo restablecer una conexión con matlab. Esto, sin embargo, puede que no tenga nada que ver con mi problema original.
Muchas gracias de nuevo, Yves.
Re: Tener problemas para conectarse a Matlab!Lo siento por la dificultad.
¿Has probado las instrucciones? aquí :
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.