{"id":1176,"date":"2017-12-26T14:23:02","date_gmt":"2017-12-26T14:23:02","guid":{"rendered":"http:\/\/www.stcleaner.com\/blog\/?p=1176"},"modified":"2017-12-26T14:23:02","modified_gmt":"2017-12-26T14:23:02","slug":"how-to-make-matlab-respond-in-mac","status":"publish","type":"post","link":"https:\/\/www.stcleaner.com\/blog\/2017\/12\/26\/how-to-make-matlab-respond-in-mac\/","title":{"rendered":"How to Make MATLAB Respond in Mac?"},"content":{"rendered":"<p><b>MATLAB<\/b><span style=\"font-weight: 400\"> is often reported to come to a grinding halt and freeze in <\/span><b>Mac<\/b><span style=\"font-weight: 400\"> computers.<\/span><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400\"> There are several reasons that can be ascribed to the eventual blackening out of <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\">, such as a lack of <\/span><b>RAM<\/b><span style=\"font-weight: 400\">, technical problems, corrupt installation files and so on and so forth.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In this guide, we have provided a handful of solutions to help you get around this issue. So let\u2019s dive into these solutions and fix this irritant.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Turn off MATLAB Source Control<\/b><\/h2>\n<p><span style=\"font-weight: 400\">Most users state that often <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\">\u2019s source control feature is the sole culprit and must be simply turned off to get around this issue for good.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">In <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\">, go to <\/span><b>Home<\/b><span style=\"font-weight: 400\"> and click <\/span><b>PREFERENCES<\/b><span style=\"font-weight: 400\"> in the <\/span><b>Environment<\/b><span style=\"font-weight: 400\"> section.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><b>Matlab<\/b><span style=\"font-weight: 400\"> | <\/span><b>General<\/b><span style=\"font-weight: 400\"> | <\/span><b>Source Control<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><b>None<\/b><span style=\"font-weight: 400\"> at the end.<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2><b>Check System Requirements for Running the Relevant MATLAB Version<\/b><\/h2>\n<p><span style=\"font-weight: 400\">Make sure that all basic ingredients for <\/span><b>Mac<\/b><span style=\"font-weight: 400\"> to run smoothly are in place, as newer releases sometimes take the hardware requirements bar a step further. Therefore, make sure the <\/span><b>Mac<\/b><span style=\"font-weight: 400\"> you\u2019re using meets the criteria for recommended <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> system requirements. You can check this from the <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> website.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3><b>Apply Yosemite Patch to Make MATLAB More Responsive<\/b><\/h3>\n<p><span style=\"font-weight: 400\">If you are running <\/span><b>MATLAB R2012a<\/b><span style=\"font-weight: 400\"> through <\/span><b>R2014a<\/b><span style=\"font-weight: 400\"> on <\/span><b>MacOS Yosemite<\/b><span style=\"font-weight: 400\">, then <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> has a new patch available that you need to install. This is <\/span><a href=\"https:\/\/www.mathworks.com\/support\/bugreports\/1098655\"><b>patch 1098655<\/b><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Please note that for some compatibility reasons, <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> doesn\u2019t recommend running any version earlier than <\/span><b>MATLAB R2013b<\/b><span style=\"font-weight: 400\"> on <\/span><b>macOS Sierra<\/b><span style=\"font-weight: 400\"> or later.<\/span><\/p>\n<h3><b>Install Java 6<\/b><\/h3>\n<p><span style=\"font-weight: 400\">While running <\/span><b>MATLAB R2013a<\/b><span style=\"font-weight: 400\"> (or an earlier version) on either <\/span><b>OS X Yosemite<\/b><span style=\"font-weight: 400\"> or a newer version, remember to install <\/span><b>Apple Legacy Java 6<\/b><span style=\"font-weight: 400\"> to prevent <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> freeze problems on <\/span><b>Mac<\/b><span style=\"font-weight: 400\">.<\/span><\/p>\n<h3><b>Uninstall Java SE 8 on MATLAB R2013a and earlier versions<\/b><\/h3>\n<p><span style=\"font-weight: 400\">It is better to uninstall <\/span><b>Java SE 8<\/b><span style=\"font-weight: 400\"> or <\/span><b>Java Development Kit<\/b><span style=\"font-weight: 400\"> 8 on the machine in order to prevent <\/span><b>MATLAB R2013a<\/b><span style=\"font-weight: 400\"> (and earlier versions) from encountering any problems while they\u2019re being launched. You can, however, install <\/span><a href=\"https:\/\/support.apple.com\/kb\/dl1572?locale=en_US\"><b>Apple Legacy Java 6<\/b><\/a><span style=\"font-weight: 400\">, as stated above.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Clear Preferences<\/b><\/h2>\n<p><span style=\"font-weight: 400\">If the <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> software is facing any issues even though you have performed the solutions suggested above, reset the Preferences to their default state.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Open <\/span><b>Finder<\/b><span style=\"font-weight: 400\"> in <\/span><b>Mac<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Select <\/span><b>Go<\/b><span style=\"font-weight: 400\"> | <\/span><b>Go to Folder<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Now go to <\/span><b>~\/.MATLAB<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Locate the folder that matches the <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> version you\u2019ve installed and rename it. As an example, if the <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> version installed on your <\/span><b>Mac<\/b><span style=\"font-weight: 400\"> is <\/span><b>R2016b<\/b><span style=\"font-weight: 400\">, then rename this folder to <\/span><b>R2016b_old<\/b><span style=\"font-weight: 400\">.<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><b>Note:<\/b><span style=\"font-weight: 400\"> Don\u2019t delete any folders that contain the term <\/span><b>license<\/b><span style=\"font-weight: 400\"> in their name. An example is the <\/span><b>R2016b_licenses<\/b><span style=\"font-weight: 400\"> folder. These folders are very vital for verifying license information.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Now restart <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\">.<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2><b>Debugging Mode Can help<\/b><\/h2>\n<p><span style=\"font-weight: 400\">Try running <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> in the <\/span><b>Terminal<\/b><span style=\"font-weight: 400\"> mode. Open the <\/span><b>Terminal<\/b><span style=\"font-weight: 400\"> window through (<\/span><b>\/Applications\/Utilities\/Terminal.app<\/b><span style=\"font-weight: 400\">) and execute the following command:<\/span><\/p>\n<p><span style=\"color: #800000\"><b>$MATLAB\/bin\/MATLAB -nodesktop<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400\">The <\/span><b>$MATLAB<\/b><span style=\"font-weight: 400\"> term refers to your <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> directory. If you are using <\/span><b>MATLAB R2016b<\/b><span style=\"font-weight: 400\"> and have installed <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> in the default directory, the command will instead be:<\/span><\/p>\n<p><span style=\"color: #800000\"><b>\/Applications\/MATLAB_R2016b.app\/bin\/MATLAB -nodesktop<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400\">Now when you relaunch <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\">, it will open in the <\/span><b>Terminal<\/b><span style=\"font-weight: 400\"> window with <\/span><b>-nodesktop<\/b><span style=\"font-weight: 400\"> written on it. Run the <\/span><b>desktop<\/b><span style=\"font-weight: 400\"> command from the <\/span><b>Terminal<\/b><span style=\"font-weight: 400\"> window to start <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\"> desktop environment. This may produce an error, but nevertheless, it will help you identify the problem.<\/span><\/p>\n<p><span style=\"font-weight: 400\">You can get support on the issue by contacting <\/span><a href=\"http:\/\/www.mathworks.com\/support\/contact_us\"><b>MathWorks Support<\/b><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Patch for MATLAB R2012a through R2014a<\/b><\/h2>\n<p><span style=\"font-weight: 400\">You can also use the patch to fix the <\/span><b>Java exception<\/b><span style=\"font-weight: 400\"> error as well as the abrupt exit upon startup in <\/span><b>MATLAB R2012a<\/b><span style=\"font-weight: 400\"> and <\/span><b>R2014a<\/b><span style=\"font-weight: 400\">. This <\/span><a href=\"https:\/\/www.mathworks.com\/support\/bugreports\/1098655\"><span style=\"font-weight: 400\">patch<\/span><\/a><span style=\"font-weight: 400\"> easily fixes these errors.<\/span><\/p>\n<p><span style=\"font-weight: 400\">If you still get the following error message:<\/span><\/p>\n<p><span style=\"color: #800000\"><b>You can\u2019t use this version of the application<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400\">Then this issue can only be resolved by following the steps available in the <\/span><a href=\"https:\/\/www.mathworks.com\/support\/bugreports\/1116607\"><span style=\"font-weight: 400\">Bug Report<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>Versions that require Apple\u2019s Legacy Java 6<\/b><\/h2>\n<p><span style=\"font-weight: 400\">The versions of <\/span><b>MATLAB<\/b><span style=\"font-weight: 400\">, ranging from <\/span><b>MATLAB R2008b<\/b><span style=\"font-weight: 400\"> to <\/span><b>R2010b<\/b><span style=\"font-weight: 400\"> require <\/span><b>Apple<\/b><span style=\"font-weight: 400\">\u2019s <\/span><b>Legacy Java 6<\/b><span style=\"font-weight: 400\"> to run. You can find more information <\/span><a href=\"https:\/\/support.apple.com\/kb\/DL1572\"><span style=\"font-weight: 400\">here<\/span><\/a><span style=\"font-weight: 400\">.<\/span><\/p>\n<p><span style=\"font-weight: 400\">You may also have to install <strong>XQuartz<\/strong>, which is an open source software to implement <\/span><b>X11<\/b><span style=\"font-weight: 400\">, to run the releases.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To run <\/span><b>MATLAB R2011a<\/b><span style=\"font-weight: 400\"> through <\/span><b>R2013a<\/b><span style=\"font-weight: 400\">, you will need all the three items we just described to render it to function properly.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>MATLAB R2008a and Earlier Can\u2019t Run On OSX 10.10<\/b><\/h2>\n<p><span style=\"font-weight: 400\">There is no way available as of the writing of this article to run <\/span><b>MATLAB R2008a<\/b><span style=\"font-weight: 400\"> (or earlier versions) on <\/span><b>Mac OSX 10.10<\/b><span style=\"font-weight: 400\">.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MATLAB is often reported to come to a grinding halt and freeze in Mac computers.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[788,787,790,789],"class_list":["post-1176","post","type-post","status-publish","format-standard","hentry","category-solutions","tag-help-with-matlab-freezing-on-mac","tag-improve-matlab-performance-in-mac","tag-matlab-performance-fixes-on-mac","tag-matlab-simply-froze-on-my-mac"],"_links":{"self":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/1176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/comments?post=1176"}],"version-history":[{"count":1,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/1176\/revisions"}],"predecessor-version":[{"id":1177,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/1176\/revisions\/1177"}],"wp:attachment":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/media?parent=1176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/categories?post=1176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/tags?post=1176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}