Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2012-09-13 07:37:09
Size: 8
Editor: bifelix
Comment:
Revision 4 as of 2012-09-13 08:18:53
Size: 5024
Editor: bifelix
Comment: initial english version
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Matlab <<TableOfContents(3)>>

= Basics =

 * Matlab is a high-level language and interactive environment for numerical computation, visualization, and programming.
 * Start it on Linux: Applications - Accessories - Terminal. Then type: Matlab (Enter)
 * Start it on Windows: Start - Matlab - Matlab

= Deutsch =
== Limitierte Anzahl Lizenzen ==
Die Anzahl der MATLAB-Lizenzen ist begrenzt. Um einen fairen und effizienten Gebrauch dieser Lizenzen in der gesamten ETH zu gewährleisten wurden folgende Maßnahmen getroffen:
 * Lizenzen werden zurückgegeben, wenn keine Nutzung seit 4 Stunden erfolgte
 * Die übermäßige Verwendung von Lizenzen wird überwacht und Benutzer werden aufgefordert wenn nötig Lizenzen zurückzugeben

== Was können Sie tun? ==
 1. Beenden Sie MATLAB wenn Sie fertig sind. Nur dann werden alle verwendeten Lizenzen zurückgegeben.
 1. Kompilieren Sie Ihr MATLAB-Programm. Der beste Ansatz, eine übermäßige Verwendung von MATLAB-Lizenzen zu vermeiden, ist die Kompilierung Ihres MATLAB-Programm. Die resultierende ausführbare Datei braucht keine einzige MATLAB-Lizenz! Dies befreit Sie von allen MATLAB Lizenzbeschränkungen und erlaubt Ihnen ausserdem Ihre ausführbare Datei an Nutzer ohne MATLAB Installation weiterzugeben.

 1. Registrieren Sie Zeiten in denen viele MATLAB-Lizenzen aufgrund eines MATLAB-Kurses benötigt werden. Mit dieser Registrierung im Voraus können wir Gegenmaßnahmen ergreifen und sicherstellen dass diese Lizenzen zur Verfügung stehen.

 1. Kaufen Sie Ihre eigenen MATLAB Lizenzen falls Sie einen garantierten 24/7 Service benötigt oder falls Sie eine übermäßige Anzahl an Lizenzen verwenden müssen.

== Matlab auf dem Cluster ==
 * Jede Matlab-Instanz auf dem Cluster verbraucht eine Lizenz. Deshalb ist es nötig, nur kompilierte Matlab-Applikationen auf dem Cluster laufen zu lassen.

= FAQ Deutsch =
== Wie kompiliert man ein MATLAB-Programm? ==
 * http://www.mathworks.ch/products/compiler/
 * http://www.mathworks.ch/help/toolbox/compiler

 * Die wichtigsten MATLAB-Befehle dazu sind "deploytool" oder "mcc".
 * Die wichtigsten Schritte zum MATLAB Befehl "mcc" sind
  * Installation von MCR (wenn nicht bereits installiert)
  * Setzen des Bibliothekspfades
  * Umwandlung Ihres Programmes in eine Funktion
  * Kompilierung des MATLAB Programmes ("mcc -mv filename.m")

== Wie weiss ich welche MATLAB Lizenzen ich verwende ==
 * Der MATLAB Befehl "license('inuse')" listet die benutzten Lizenzen der aktuellen MATLAB Sitzung auf.

== Wie weiss ich wer wieviele MATLAB Lizenzen verwendet? ==
 * Sie können alle benutzten MATLAB Lizenzen mit dem folgenden Befehle auflisten.
  * Linux Terminal: lmutil lmstat -c $MATLAB/license.dat -a
  * Windows Terminal:
   * cd $MATLAB\etc\win{32|64} ($MATLAB\flexlm für Versionen vor 2010b)
   * lmutil lmstat -c license.dat -a (wobei $MATLAB das MATLAB Grundverzeichnis ist)

= English =
== Limited amount of licenses ==
The number of MATLAB licences is limited. To ensure a fair and efficient usage of the licences throughout the ETH the following measures have been put in place:
 * licences will be returned if not used for 4 hours
 * excessive usage of licences will be monitored and users will be asked to return licences if needed


== What can you do? ==
 1. Exit MATLAB when finished. Only then will all used licences be given back.
 1. Compile your MATLAB program. The best approach to avoid excessive usage of MATLAB licences is to compile your MATLAB program. The resulting executable does not need ANY MATLAB licence! This frees you from all MATLAB licence restrictions and also allows you to provide your executable to users without a MATLAB installation.
 1. Register the need for many MATLAB licences due to a MATLAB course By registering your need in advance, we can take countermeasures and ensure that these licences are available.
 1. Buy your own MATLAB licences if you must have a guaranteed 24/7 service or if you need to use an excessive amount of licences.

== FAQ English ==
 == How to compile a MATLAB program? ==
 * http://www.mathworks.ch/products/compiler/
 * http://www.mathworks.ch/help/toolbox/compiler
 * The main MATLAB commands are "deploytool" or "mcc".
  * For MATLAB command "mcc", the main steps include
  * install MCR (if not already installed)
  * set library path
  * turn your program into a function
  * compile MATLAB program ("mcc -mv filename.m")

== How do I know which MATLAB licences I use? ==
 * The MATLAB command "license('inuse')" lists the licences checked out for the current MATLAB session.
 
== How do I know how many MATLAB licences are used by whom? ==
 * You can list all checked-out MATLAB licences with the following commands.
 * Linux: lmutil lmstat -c $MATLAB/license.dat -a
 * Windows command prompt:
  * cd $MATLAB\etc\win{32|64} ($MATLAB\flexlm for releases prior to 2010b)
  * lmutil lmstat -c license.dat -a (where $MATLAB is the root MATLAB directory)

Basics

  • Matlab is a high-level language and interactive environment for numerical computation, visualization, and programming.
  • Start it on Linux: Applications - Accessories - Terminal. Then type: Matlab (Enter)
  • Start it on Windows: Start - Matlab - Matlab

Deutsch

Limitierte Anzahl Lizenzen

Die Anzahl der MATLAB-Lizenzen ist begrenzt. Um einen fairen und effizienten Gebrauch dieser Lizenzen in der gesamten ETH zu gewährleisten wurden folgende Maßnahmen getroffen:

  • Lizenzen werden zurückgegeben, wenn keine Nutzung seit 4 Stunden erfolgte
  • Die übermäßige Verwendung von Lizenzen wird überwacht und Benutzer werden aufgefordert wenn nötig Lizenzen zurückzugeben

Was können Sie tun?

  1. Beenden Sie MATLAB wenn Sie fertig sind. Nur dann werden alle verwendeten Lizenzen zurückgegeben.
  2. Kompilieren Sie Ihr MATLAB-Programm. Der beste Ansatz, eine übermäßige Verwendung von MATLAB-Lizenzen zu vermeiden, ist die Kompilierung Ihres MATLAB-Programm. Die resultierende ausführbare Datei braucht keine einzige MATLAB-Lizenz! Dies befreit Sie von allen MATLAB Lizenzbeschränkungen und erlaubt Ihnen ausserdem Ihre ausführbare Datei an Nutzer ohne MATLAB Installation weiterzugeben.
  3. Registrieren Sie Zeiten in denen viele MATLAB-Lizenzen aufgrund eines MATLAB-Kurses benötigt werden. Mit dieser Registrierung im Voraus können wir Gegenmaßnahmen ergreifen und sicherstellen dass diese Lizenzen zur Verfügung stehen.
  4. Kaufen Sie Ihre eigenen MATLAB Lizenzen falls Sie einen garantierten 24/7 Service benötigt oder falls Sie eine übermäßige Anzahl an Lizenzen verwenden müssen.

Matlab auf dem Cluster

  • Jede Matlab-Instanz auf dem Cluster verbraucht eine Lizenz. Deshalb ist es nötig, nur kompilierte Matlab-Applikationen auf dem Cluster laufen zu lassen.

FAQ Deutsch

Wie kompiliert man ein MATLAB-Programm?

Wie weiss ich welche MATLAB Lizenzen ich verwende

  • Der MATLAB Befehl "license('inuse')" listet die benutzten Lizenzen der aktuellen MATLAB Sitzung auf.

Wie weiss ich wer wieviele MATLAB Lizenzen verwendet?

  • Sie können alle benutzten MATLAB Lizenzen mit dem folgenden Befehle auflisten.
    • Linux Terminal: lmutil lmstat -c $MATLAB/license.dat -a
    • Windows Terminal:
      • cd $MATLAB\etc\win{32|64} ($MATLAB\flexlm für Versionen vor 2010b)
      • lmutil lmstat -c license.dat -a (wobei $MATLAB das MATLAB Grundverzeichnis ist)

English

Limited amount of licenses

The number of MATLAB licences is limited. To ensure a fair and efficient usage of the licences throughout the ETH the following measures have been put in place:

  • licences will be returned if not used for 4 hours
  • excessive usage of licences will be monitored and users will be asked to return licences if needed

What can you do?

  1. Exit MATLAB when finished. Only then will all used licences be given back.
  2. Compile your MATLAB program. The best approach to avoid excessive usage of MATLAB licences is to compile your MATLAB program. The resulting executable does not need ANY MATLAB licence! This frees you from all MATLAB licence restrictions and also allows you to provide your executable to users without a MATLAB installation.
  3. Register the need for many MATLAB licences due to a MATLAB course By registering your need in advance, we can take countermeasures and ensure that these licences are available.
  4. Buy your own MATLAB licences if you must have a guaranteed 24/7 service or if you need to use an excessive amount of licences.

FAQ English

How do I know which MATLAB licences I use?

  • The MATLAB command "license('inuse')" lists the licences checked out for the current MATLAB session.

How do I know how many MATLAB licences are used by whom?

  • You can list all checked-out MATLAB licences with the following commands.
  • Linux: lmutil lmstat -c $MATLAB/license.dat -a
  • Windows command prompt:
    • cd $MATLAB\etc\win{32|64} ($MATLAB\flexlm for releases prior to 2010b)
    • lmutil lmstat -c license.dat -a (where $MATLAB is the root MATLAB directory)

Programming/Matlab (last edited 2023-12-18 07:51:43 by stroth)