Difference between revisions of "Slow startup"

From mn/geo/geoit
Jump to: navigation, search
(Created page with "When Matlab takes a very long time to start up on my machine, as well as opening for parallel processing. It is very clear where the problem is, and is explained very clearly...")
 
Line 4: Line 4:
  
 
A quick and dirty way is that you change the environment variable to a physical location on my disk where the license file is (i.e. C:\ProgramFiles\MATLAB\R2014b\licenses\license_PCGEOXX_885740_R2014b.lic), then Matlab works wonderful and starts up super fast. However, every time you log off, the environment variable changes back to the default which is to look on the network for a license key. The cause is that the link refers to an older 32-bit Version of Matlab.
 
A quick and dirty way is that you change the environment variable to a physical location on my disk where the license file is (i.e. C:\ProgramFiles\MATLAB\R2014b\licenses\license_PCGEOXX_885740_R2014b.lic), then Matlab works wonderful and starts up super fast. However, every time you log off, the environment variable changes back to the default which is to look on the network for a license key. The cause is that the link refers to an older 32-bit Version of Matlab.
 
  
 
A better approach is to try to start matlab with command line:
 
A better approach is to try to start matlab with command line:
 
<pre>"C:\Program Files\MATLAB\R2014b\bin\matlab.exe" -c "C:\Program Files\MATLAB\R2014b\licenses\license_PCGEOXX_885740_R2014b.lic"
 
<pre>"C:\Program Files\MATLAB\R2014b\bin\matlab.exe" -c "C:\Program Files\MATLAB\R2014b\licenses\license_PCGEOXX_885740_R2014b.lic"
<\pre>
+
</pre>
  
 
-c lets you specify location of the License file. No environment variables are used. If it Works better, you may wish to take a copy of Your matlab shortcut and do edits in that. This method is better, because you don't have to alter any environment variables.
 
-c lets you specify location of the License file. No environment variables are used. If it Works better, you may wish to take a copy of Your matlab shortcut and do edits in that. This method is better, because you don't have to alter any environment variables.
  
[[Category:Matlab]]
+
[[Category:Matlab]]</pre>

Revision as of 11:40, 20 February 2015

When Matlab takes a very long time to start up on my machine, as well as opening for parallel processing. It is very clear where the problem is, and is explained very clearly in the link.

Two approach might solve the issue

A quick and dirty way is that you change the environment variable to a physical location on my disk where the license file is (i.e. C:\ProgramFiles\MATLAB\R2014b\licenses\license_PCGEOXX_885740_R2014b.lic), then Matlab works wonderful and starts up super fast. However, every time you log off, the environment variable changes back to the default which is to look on the network for a license key. The cause is that the link refers to an older 32-bit Version of Matlab.

A better approach is to try to start matlab with command line:

"C:\Program Files\MATLAB\R2014b\bin\matlab.exe" -c "C:\Program Files\MATLAB\R2014b\licenses\license_PCGEOXX_885740_R2014b.lic"

-c lets you specify location of the License file. No environment variables are used. If it Works better, you may wish to take a copy of Your matlab shortcut and do edits in that. This method is better, because you don't have to alter any environment variables.</pre>