To verify that your work files and/or startup.m files are not conflicting with this MATLAB installation, perform the following steps:ġ. If the above solutions do not work, be sure that there are no files conflicting on your MATLAB path. Let me know if MATLAB starts in this mode. If MATLAB will not start in the -nodesktop mode, try the following:ģ. If MATLAB starts using the -nodesktop flag, type "desktop" in the MATLAB command window and send me the output. Note: for example cd /usr/local/MATLAB72/bin/ģ. From the terminal, type the following:Ĭd $MATLABROOT/bin/ (Where $MATLABROOT is the path to your root MATLAB directory) Open MATLAB with the Desktop and Java options Disabled:ġ. MATLAB: xcb_xlib.c:52: xcb_xlib_unlock:Assertion `c->xlib.lock' failed.Ī Java bug may be causing the issue. If you see an error about "Locking assertion failure" or the error: "Why do I receive errors relating to the file "libmwlapack" when starting MATLAB If it works, see the Related Solution at the bottom of the page: (/usr/sbin/setenforce 1 will turn SELinux back on)
To temporarily disable it, run the following command as root: SELinux may prevent MATLAB from starting. Try running MATLAB with SELinux disabled. If the above solution does not help, run the step below and contact MathWorks Technical Support if the steps fail: For example, if you have R2008a, run the command:Ĥ. matlab folder, delete the folder for the version of MATLAB you have. In the terminal window and run the following commands:ģ. Open the Terminal Application (usually found in Applications or Utilities).Ģ. Remove your preferences directory, so that it can be recreated cleanly:ġ.
#Cd command matlab 2012 license
Try this steps: If you are having trouble starting MATLAB on a UNIX-based system and you are not receiving license manager related errors, your start up problems may be resolved by performing the following steps: