How to Troubleshoot MATLAB

After successfully installing MATLAB, you may encounter issues while starting MATLAB, compiling MATLAB or trying to register a host name. These are common problems that can be resolved by fixing typos, submitting different information or adjusting core specifications in MATLAB's configuration files.

Instructions

  1. Error 39

    • 1

      Try registering your hostname again. It is possible you made a typing error.

    • 2

      Attempt to register your hostname by adding your domain name in the registration panel. It is possible the domain name was automatically added and needs to be specified.

    • 3

      Remove the domain name from the registration panel. If the domain name was stripped, then the host name will not be accepted if you associate it with the domain.

    License Manager Error 3

    • 4

      Ensure that the "SERVER" line in your license file matches the "SERVER" line from the license file on the license server. Remember that the license file is "$MATLAB\bin\win32\license.dat" on client systems and $MATLAB\flexlm\license.dat" on license servers.

    • 5

      Check that the listed TCP port number in the "SERVER" line isn't currently in use. If you are using an NT-based system, run the command "netstat -p tcp" from the command line to check active port numbers.

    • 6

      Make certain no other vendor daemons are currently in memory by checking the "FLEXIm" log file for the error "Multiple MLM Servers Running."

    Compilation Problems

    • 7

      Compile from the MATLAB prompt instead of the operating system command. Compilations made from the OS are associated with "PATH," LD_LIBRARY_PATH" and other environmental variable problems.

    • 8

      Use the "mbuild" function to compile driver applications. Unlike other compilers, it ensures that all necessary header files and libraries are found and attached to the compilation process.

    • 9

      Ensure that you are referencing the appropriate libraries, especially if you have multiple versions of MATLAB on your computer. You should be linking to "mclmcrrt.lib" and not "libmx" or "libut."

Related Searches:

References

Comments

Related Ads

Featured