User Tools

Site Tools


software:matlab:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:matlab:start [2020/03/23 15:13] paulgsoftware:matlab:start [2023/09/22 08:43] (current) paulg
Line 9: Line 9:
 \\ \\
 \\ \\
-**Installed Version:** Release 2019a \\+**Installed in EECS Labs:** Release 2023a \\
  
-  * [[york-wide]]+----
  
- 
- 
-==== EECS Graduate Students and Faculty Licensing Information ==== 
- 
-  * MATLAB licenses and toolboxes will only work from EECS subnets unless you use SSH tunnelling to connect to our license server. 
-   
-  * Researchers that require MATLAB additional toolboxes for their own research should contact tech for pricing. 
- 
-===== Products ===== 
- 
-We are licensed for the same products as the York University Site-wide Licensing Program. While MATLAB is a multi-platform product not all Toolboxes are available on all platforms.  
- 
-For the list of products licensed, please see [[https://matlab.info.yorku.ca/products/|MATLAB Products]] 
- 
- 
- 
-===== Installation Instructions ===== 
- 
-==== Before You Install  ==== 
- 
- 
-Before you can begin to install MATLAB you will need the following. 
- 
-  - MATLAB ISO/DMG file (As of R2016b the MATLAB installer is split across two ISO files for Windows and Linux)   
-  - MATLAB license file  
-  - File Installation Key 
-  
- 
-**Note:** Consider disabling virus-checking software and Internet security applications on your system for the duration of the installation process. These applications can slow down the installation process or cause it to appear unresponsive or to hang. 
- 
-==== MATLAB ISO file Download Instructions ==== 
- 
- 
-=== Via SFTP: === 
- 
-There are various SFTP clients for the different platforms supported by MATLAB, which can be used to download the ISO file. 
 \\ \\
-  * General settings: +  * [[matlab-eecs]] 
-    * **Host:**  indigo.eecs.yorku.ca +  * [[.2:start]] 
-    * **Port:** 22 +  * [[york-wide]]
-    * **Protocol:** SFTP - SSH File Transfer Protocol +
-    * **User name:** your EECS user account +
-    * **Remote Directory:** /eecs/research/download/matlab +
- +
-  * Command Line (OS X/Linux): +
-    * sftp username@indigo.eecs.yorku.ca:/eecs/research/download/matlab/ +
- +
-**Sample SFTP Session** +
- +
-<code="text"> +
-sftp username@indigo.eecs.yorku.ca:/eecs/research/download/matlab/ +
-Welcome to CentOS 7.  +
- +
-Password: +
-Connected to indigo.eecs.yorku.ca. +
-Changing to: /eecs/research/download/matlab/ +
-sftp> get R2018a_maci64.dmg     (macOS) +
- +
-sftp> get R2019a_Linux.iso (Linux) +
- +
-</code> +
- +
-  * Windows (Using [[http://filezilla-project.org/|FileZilla]]) +
-    * Open the Site Manager (Ctrl+S) and click new site +
-    * Enter the following information +
-       * **Host:** indigo.eecs.yorku.ca +
-       * **Port:** 22 +
-       * **Protocol:** SFTP - SSH File Transfer Protocol +
-       * **Logon Type:**  Ask for Password +
-       * **User:** your EECS user account +
-       * Next, click the **Advanced** tab +
-          * **Default Remote Directory:** /eecs/research/download/matlab +
-          * Click **Connect** +
-   +
- +
-=== via Windows Share (Samba/SMB) === +
- +
-If you are connected to our EECS network, you can map the MATLAB network share using the following share path. +
- +
-\\pcserver.eecs.yorku.ca\research-download\matlab  \\ +
- +
- +
-==== MATLAB License File & File Installation Key ==== +
- +
-Installation of MATLAB requires a File Installation Key and a license file. For the sake of simplicity we have embedded the File Installation Key in the license file. Simply view the license file with any text editor to obtain the key. You can download the license file at this hyperlink [[https://www.eecs.yorku.ca/software/matlab|Download Matlab License file and File Installation Key ]] +
- +
- +
-==== Mounting an ISO file ==== +
- +
-=== Windows === +
- +
-  * Windows 7: Requires additional third party software +
-    * Download [[http://www.slysoft.com/en/download.html|Virtual Clone Drive]] and follow the instructions on mounting ISO files +
-  * Windows 8, 8.1 and 10: Native support, mounts a ISO file without any third party software +
-      - Navigate to the location where you downloaded the ISO file. +
-      - Right-click on the ISO file and then select Mount to mount it. +
- +
-=== macOS === +
- +
-  * Usually ISO/DMG files are opened automatically when you double click them in Finder +
-  * You can also mount ISO images in Mac OS X by using **Disk Utility**, located in the /Applications/Utilities/ directory. After you launched Disk Utility, navigate from the Disk Utility menu down to "Open Image File" and select your ISO file. The ISO should now appear mounted on the desktop. +
-  * Command Line: +
-<code=text> +
-cd ~/Desktop +
-hdiutil mount R2016a_maci64.iso  +
-or +
-hdiutil attach R2018a_maci64.dmg +
-</code> +
- +
-=== Linux === +
- +
- +
-  * Ubuntu’s Unity desktop and GNOME include an **Disk Image Mounter** application that can mount ISO files and similar image files graphically. To use it, right-click an .ISO file or another type of disc image, point to Open With, and select **Disk Image Mounter**. +
- +
-  * Command Line: +
-  * Open a terminal window +
-  * Create a new directory for your ISO image. +
- +
-     sudo mkdir /media/iso  +
- +
-  * Now mount the ISO image +
- +
-  sudo mount -o loop R2019a_Linux.iso /media/iso +
- +
-  * To unmount the file, use this command in a terminal window +
- +
-  sudo umount /media/iso +
-  rmdir /media/iso +
- +
- +
-==== Installation Instructions ==== +
- +
- +
-=== Linux / macOS / Windows === +
- +
-  - Start the MATLAB Installer +
-    - Windows +
-      -  DVD (ISO) installation — Mount DVD on your system. The installer usually starts automatically.  +
-    - Linux +
-      - **Note:**   Do not run the installation from inside the DVD/ISO root. Start the installation from a directory outside the DVD/ISO root.  +
-      - For example on Ubuntu +
-        * cd /tmp +
-        * /media/USERNAME/MATHWORKS_R2019A/install &  +
-        * or generally  +
-        * /path_to_dvd/install & +
-    - macOS +
-      - DVD installation — Insert/Mount DVD 1 into the DVD drive connected to your system. When the DVD icon appears on the desktop, double-click the icon to display the DVD contents, and then double-click the InstallForMacOSX icon to begin the installation. +
-  - Select the **Use a File Installation Key** option and click **Next** +
-  - Review the software license agreement and, if you agree with the terms, select **Yes** and click **Next.**  +
-  - Select the **I have the File Installation Key for my license** option, enter the File Installation Key, and click **Next**. +
-  - Specify the Installation Folder +
-    - Specify the name of the folder where you want to install MathWorks products. Accept the default installation folder, or click **Browse** to select a different one. If the folder does not exist, the installer creates it. When specifying a folder name, you can use any alphanumeric character and some special characters, such as underscores. If you make a mistake while entering a folder name and want to start over, click **Restore Default Folder**. After making your selection, click **Next.** +
-  - Specify Products to Install +
-    - Specify which products you want to install in the Product Selection dialog box. This dialog box lists all the products associated with the license you selected or with the Activation Key you specified. In the dialog box, all the products are preselected for installation. If you do not want to install a particular product, clear the check box next to its name. +
-    - After selecting the products you want to install, click **Next** to continue with the installation. +
-  - Specify Installation Options +
-    - **Windows Systems**  +
-      - On Windows, the Installation Options dialog box lets you choose whether to put shortcuts for starting MATLAB in the **Start** menu and on the desktop. +
-      - For Windows® 10, you can choose either Desktop or All apps in the **Start** menu. +
-      - After selecting installation options, click **Next** to proceed with the installation. +
-    - **Linux Systems**    +
-      - On Linux systems, you can specify whether you want to create symbolic links to the matlab and mex scripts. Specify a folder to which you have write access and that is common to all your user's paths, such as /usr/local/bin . +
-      - After selecting installation options, click **Next** to proceed with the installation. +
-   - Confirm Your Choices    +
-     - Before it begins installing the software on your hard disk, the installer displays a summary of your installation choices. To change a setting, click **Back**. To proceed with the installation, click **Install.**  +
- +
-If you have any problems accessing any toolboxes or you encounter any licensing issues make sure the ''network.lic'' file which is located in ''/path/to/matlab/licenses'' (replace with the path where you installed MATLAB) contains both the ''SERVER'' and the ''USE_SERVER'' lines from the downloaded license file. +
- +
- +
- +
-===== Running MATLAB on your computer when not connected to a local (wired) EECS network ===== +
- +
-=== Linux / MacOS X === +
- +
-  * Create a new MATLAB license file called localhost.lic in in your home directory. with the following contents. +
-  * **Note:** With MATLAB R2017A and newer, if your localhost.lic file has **localhost** on the **SERVER** line, it should be replaced with IP number **127.0.0.1**. Failure to make this change will result in a license error.  +
- +
-<code=text> +
-SERVER 127.0.0.1 000102030405 1726 +
-USE_SERVER +
-</code> +
- +
-  * Use the following shell script **''connect-matlab-license-server.sh''** to establish an SSH tunnel connection to the departmental licence server. Save the file in your home directory. //**Be  sure to replace EECS-USERNAME with your EECS username**// +
- +
-<code=text> +
-#!/bin/sh +
-echo Forwarding local ports 1726:1727 to license server +
- +
-ssh -2 -N -x -L 1726:licenseserv.eecs.yorku.ca:1726 +
--L 1727:licenseserv.eecs.yorku.ca:1727 EECS-USERNAME@indigo.eecs.yorku.ca +
-</code> +
- +
-  * Run the script from the command line to create a SSH tunnel +
- +
-<code=text> +
-chmod 755 connect-matlab-license-server.sh +
-./connect-matlab-license-server.sh +
-</code> +
- +
-When you run the script you will be prompt for a password, enter your EECS account password. You are now connected to the EECS license server. +
- +
- +
-  * Start MATLAB, using our SSH tunnel. +
- +
-== MacOS X == +
-<code=text> +
-/Applications/MATLAB_R2018a.app/bin/matlab -c ~/localhost.lic  +
-</code> +
- +
-== Linux == +
-<code=text> +
-matlab -c ~/localhost.lic  +
-</code> +
- +
- +
-=== Windows === +
- +
-  * **Create new network license files:** +
- +
-  * License paths for MATLAB: +
-<code="text"> +
-C:\Program Files\MATLAB\<release>\licenses\network1.lic  +
-C:\Program Files\MATLAB\<release>\licenses\network2.lic +
-</code> +
- +
-**Note:** You can rename the existing **network.lic** to **network1.lic** +
- +
-**network1.lic contents:** +
-  SERVER licenseserv.eecs.yorku.ca 000102030405 1726  +
-  USE_SERVER  +
- +
-**network2.lic contents:** +
-  SERVER 127.0.0.1 000102030405 1726  +
-  USE_SERVER  +
- +
- +
-  * Launch a text editor (Not MSWord) and save the following content into a file called **connect-matlab-license-server.cmd** on your desktop. //**Be  sure to replace EECS-USERNAME with your EECS username**// +
- +
- +
-<code=text> +
-@echo off +
-echo Forwarding local ports 1726:1727 to license server +
-echo Close this Command Prompt window to terminate session! +
-  +
-if exist "%ProgramFiles(x86)%\PuTTY\plink.exe" set PLINK="%ProgramFiles(x86)%\PuTTY\plink.exe" +
-if exist "%ProgramFiles%\PuTTY\plink.exe" set  PLINK="%ProgramFiles%\PuTTY\plink.exe"     +
-  +
-  +
-%PLINK% -2 -N -x -L 1726:licenseserv.eecs.yorku.ca:1726 -L 1727:licenseserv.eecs.yorku.ca:1727 EECS-USERNAME@indigo.eecs.yorku.ca +
-</code> +
- +
-  * Use batch script connect-matlab-license-server.cmd you just saved to establish a SSH tunnel connection to the departmental licence server.  +
-\\ +
-PuTTY can be downloaded from [[http://www.chiark.greenend.org.uk/~sgtatham/putty|http://www.chiark.greenend.org.uk/~sgtatham/putty ]].  +
  
-  * Before you start MATLAB, double click on the connect-matlab-license-server.cmd icon on the desktop. The first time you connect, you will be prompted to save the server key into your local cache. Enter your password when prompted. 
  
-  * **Note:** With this setup you will experience a delay when you launch MATLAB if you are not connected to EECS's wired network.  
  
  
software/matlab/start.1584990829.txt.gz · Last modified: 2020/03/23 15:13 by paulg