Matlab

    Table of contents
    You are currently comparing two old versions - only when you are comparing against the latest version can you revert. Return to version archive.

    Combined revision comparison

    Comparing version 15:53, 9 Apr 2020 by aduarte with version 13:54, 16 Apr 2020 by aduarte.

    ...

    Before starting to use the system check if JAVA is well configured in MatLab, type in the matlab console:

    version -java

    If you get an answer like: Java 1.8.0_181-b13 with Oracle Corporation1.5.0_04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed modeServerVM, then you’re ready to start.

    If your version of MatLab has an older version of Java, then you will need to install a newer version and set the MATLAB_JAVA enviroment variable, as described next. Your have at least version 1.8, you can skip to Download the libraries section.

    ...

    You should use the latest version (at least 1.8) of the Oracle1.5) of the Sun Java. If your copy of MatLab has a more recent version of Java you can skip this step.
    First you have to find out where is your java home located. To avoid errors, download and run this utility. The value returned by the utility is the MATLAB_JAVA value.

    NOTE: Each time you change system properties, you have to restart MatLab

    Now you have to set the MATLAB_JAVA as a system variable: 
    ./windows.gif

    Open the windows System Properties (right - click on My Computer or go to the Control Panel)
    Select the tab Advanced
    Click on Environment Variables...
    In the system variables click New...
    The Variable name is: MATLAB_JAVA
    In the value field (supposing you have the java_home in the libraries in C:\Program Files\java\jdkjdk1.5.0_041.8.0_181\jre) enter the following value: C:\Program Files\java\jdkjdk1.5.0_041.8.0_181\jre

    ./linux.gif

    Supposing you have the java_home in /opt/jdkjdk1.5.0_041.8.0_181/jre/ :

    export MATLAB_JAVA="/opt/jdk1.8.0_181jdk1.5.0_04/jre/"
    

    ...

    Apache Logging
    Apache Commons Util

    If you are not sure if your version includes the XML-RPC library, you can try runningsupports it, you can run on the Matlab console:

    import org.apache.xmlrpc.client.XmlRpcClient;javaclasspath

    If This will give you a list of all java libraries being loaded at start. If there are no references to apache_xmlrpc_client.jar, apache_xmlrpc_common.jaryou haveand errorapache_xmlrpc_server.jar, then you will also need to download the following files instead:

    Apache Client XML-RPC
    Apache Jakarta Commons Apache Common XML-RPCSDAS Core Libraries

    ...

    Other changes:

    1. /body/div[3]/p/a/@href: "http://www.java.com/en/download/manual.jsp""https://www.java.com/download/"
    2. /body/div[3]/p/a/@title: "http://www.java.com/en/download/manual.jsp""https://www.java.com/download/"
    3. /body/div[3]/p[3]/img/@height: "32px""32"
    4. /body/div[3]/p[3]/img/@width: "32px""32"
    5. /body/div[3]/p[5]/img/@height: "32px""32"
    6. /body/div[3]/p[5]/img/@width: "32px""32"
    7. /body/p[6]/a/@href: "http://baco.ipfn.ist.utl.pt/sdas/downloads/xmlrpc-2.0.jar""http://baco.ipfn.ist.utl.pt/sdas/downloads/matlab/xmlrpc-client-3.1.3.jar"
    8. /body/p[6]/a/@title: "http://baco.ipfn.ist.utl.pt/sdas/downloads/xmlrpc-2.0.jar""http://baco.ipfn.ist.utl.pt/sdas/downloads/matlab/xmlrpc-client-3.1.3.jar"
    9. /body/p[6]/u/font/a/@href: "http://baco.ipfn.ist.utl.pt/sdas/downloads/SDAS.jar""http://baco.ipfn.ist.utl.pt/sdas/downloads/matlab/xmlrpc-common-3.1.3.jar"
    10. /body/p[6]/u/font/a/@title: "http://baco.ipfn.ist.utl.pt/sdas/downloads/SDAS.jar""http://baco.ipfn.ist.utl.pt/sdas/downloads/matlab/xmlrpc-common-3.1.3.jar"
    11. /body/div[4]/p[2]/a/@class: " external""external"

    Version from 15:53, 9 Apr 2020

    This revision modified by aduarte (Ban)

    ...

    Before starting to use the system check if JAVA is well configured in MatLab, type in the matlab console:

    version -java

    If you get an answer like: Java 1.5.0_04 with Sun Microsystems Inc. Java HotSpot(TM) Server VM, then you’re ready to start.

    If your version of MatLab has an older version of Java, then you will need to install a newer version and set the MATLAB_JAVA enviroment variable, as described next.

    ...

    You should use the latest version (at least 1.5) of the Sun Java. If your copy of MatLab has a more recent version of Java you can skip this step.
    First you have to find out where is your java home located. To avoid errors, download and run this utility. The value returned by the utility is the MATLAB_JAVA value.

    NOTE: Each time you change system properties, you have to restart MatLab

    Now you have to set the MATLAB_JAVA as a system variable: 
    ./windows.gif

    Open the windows System Properties (right - click on My Computer or go to the Control Panel)
    Select the tab Advanced
    Click on Environment Variables...
    In the system variables click New...
    The Variable name is: MATLAB_JAVA
    In the value field (supposing you have the java_home in the libraries in C:\Program Files\java\jdk1.5.0_04\jre) enter the following value: C:\Program Files\java\jdk1.5.0_04\jre

    ./linux.gif

    Supposing you have the java_home in /opt/jdk1.5.0_04/jre/ :

    export MATLAB_JAVA="/opt/jdk1.5.0_04/jre/"
    

    ...

    If you are not sure if your version supports it, you can run on the Matlab console:

    javaclasspath

    This will give you a list of all java libraries being loaded at start. If there are no references to apache_xmlrpc_client.jar, apache_xmlrpc_common.jar and apache_xmlrpc_server.jar, then you need to download the following files instead:

    Apache XML-RPC
    Apache Jakarta Commons

    SDAS Core Libraries

    ...

    Version as of 13:54, 16 Apr 2020

    This revision modified by aduarte (Ban)

    ...

    Before starting to use the system check if JAVA is well configured in MatLab, type in the matlab console:

    version -java

    If you get an answer like: Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode, then you’re ready to start.

    If your version of MatLab has an older version of Java, then you will need to install a newer version and set the MATLAB_JAVA enviroment variable, as described next. Your have at least version 1.8, you can skip to Download the libraries section.

    ...

    You should use the latest version (at least 1.8) of the Oracle Java. If your copy of MatLab has a more recent version of Java you can skip this step.
    First you have to find out where is your java home located. To avoid errors, download and run this utility. The value returned by the utility is the MATLAB_JAVA value.

    NOTE: Each time you change system properties, you have to restart MatLab

    Now you have to set the MATLAB_JAVA as a system variable: 
    ./windows.gif

    Open the windows System Properties (right - click on My Computer or go to the Control Panel)
    Select the tab Advanced
    Click on Environment Variables...
    In the system variables click New...
    The Variable name is: MATLAB_JAVA
    In the value field (supposing you have the java_home in the libraries in C:\Program Files\java\jdk1.8.0_181\jre) enter the following value: C:\Program Files\java\jdk1.8.0_181\jre

    ./linux.gif

    Supposing you have the java_home in /opt/jdk1.8.0_181/jre/ :

    export MATLAB_JAVA="/opt/jdk1.8.0_181/jre/"
    

    ...

    Apache Logging
    Apache Commons Util

    If you are not sure if your version includes the XML-RPC library, you can try running on the Matlab console:

    import org.apache.xmlrpc.client.XmlRpcClient;

    If you have error, then you will also need to download the following files:

    Apache Client XML-RPC
    Apache Common XML-RPC

    ...

    Powered by MindTouch Core