TWiki
>
SelfManaged Web
>
MacOSXDocumentation
>
MacOSXMatlab
(03 Feb 2012,
YanHuang
)
(raw view)
E
dit
A
ttach
---++ Installing Matlab on a Self-managed machine These instructions allow you to use your own mac to access the Informatics Matlab service, using our media and licence server. You will need to be connected to the Informatics network via cable or Informatics VPN in order to use Matlab, though installation can be performed offline. __Before you begin__: you will need two pieces of information. * The __file installation key__. Support can give this to you. * The __license file__ <em>(license.dat). </em>Again, support can give this to you. ---++ Performing the installation * Pop in the DVD; load =InstallForMacOSX.dmg= from the disc. * Choose "Install manually without using the Internet" from the installer setup prompt. * Read very carefully to make sure that you understand and agree with each clause of the licence agreement. Check with an independent legal advisor if required. * Click 'continue' to confirm installation onto your main hard disk. * Select "I have the File Installation Key for my license" and enter your __file installation key__, as provided by support. * You may choose to install MATLAB along with any toolboxes you require; make sure to specifically __deselect__ "Licence manager" as it is of no use. * Leave or modify install path as required - we recommend leaving it as is unless you know what you're doing * When prompted to provide license file location, browse to and select the <em> *license.dat* </em>file provided to you by support. * Press continue. Installation will now proceed automatically and provide MATLAB in your Applications folder. Once installation has finished, you should be able to launch Matlab from your Applications folder. ---+++++ Setting environment variables This section below is now no longer required but included for posterity. In general, it should only be used for troubleshooting or where you have an old installation without a license.dat file. If you have installed using a license.dat file, you don't need to do the following. You will need to set an environment variable to point it at our licence server. You can do this in any of the normal ways. The Mac (per-user) way of doing this is to append the variable to your environment using the single Terminal command: <pre> $ defaults write ~/.MacOSX/environment MLM_LICENSE_FILE -string <licence file path></pre> (note that the licence file path above should _not_ include the angle-brackets). You can check that the operation has succeeded by typing: <pre> $ open ~/.MacOSX/environment.plist </pre> and checking that the entered variable appears under _Root_. Log out and back in, and you should find that MATLAB launches without activation prompt.<em> If you see the activation dialog this means that your machine has probably not found its licence file, or it has been written incorrectly.</em> ---++ Problems on Snow Leopard If you find you are having problems getting MATLAB to launch, you may have a problem with your Java version; especially with Snow Leopard. This may be the case if you are using Matlab 2008b. It probably is not the case if you are running Matlab 2010b. Firstly, make sure in Java Preferences, 32-bit Java is first in the sequence. You can set this by going to Go --> Utilities --> Java Preferences --> Clicking and dragging 32-bit above 64-bit and closing. You should not need to logout or reboot. You should also be able to change back to 64-bit once MATLAB is running. Secondly, if you are still having problems, you may need to install Java 1.5, making sure to click and drag the 32-bit version to the top from inside Java Preferences after installation. You can download Java 1.5 and follow the install directions from here: <a target="_blank" href="http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard" title="Java 1.5 Mac OS X">http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard</a> Though note that the above instructions leave you running a version of Java unsupported by Apple, and which may be subject to unpatched security flaws. If you are still having problems with MATLAB launching, start the X Window client first, then start MATLAB. -- Main.GrahamDutton - 12 Aug 2009
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r7 - 03 Feb 2012 - 12:42:00 -
YanHuang
SelfManaged
SelfManaged Web
SelfManaged Web Home
Changes
Index
Search
LinuxDocumentation
MacOSXDocumentation
WindowsDocumentation
CommonDocumentation
ScratchPad
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
This Wiki uses
Cookies