Installing PLECS Standalone

Microsoft Windows

  1. If you already have a license file *.lic for PLECS, copy it to your harddisk.
  2. Run the installer executable by double-clicking it. PLECS can be installed for the current user or all users of a machine. To install PLECS for all users the installer must be executed with administrator privileges.
  3. Start PLECS.

    See a video on how to install PLECS Standalone on a Windows operating system here.

 

Mac OS X

  1. If you already have a license file *.lic for PLECS, copy it to your harddisk.
  2. Open the downloaded disk image by double-clicking it and copy PLECS to the Application folder or to another location of your choice.
  3. Start PLECS.

    See a video on how to install PLECS Standalone on a Mac operating system here.

 

Linux

  1. If you already have a license file *.lic for PLECS, copy it to your harddisk.
  2. Untar with
    tar -xzf filename.tar.gz

    in a directory of your choice. This will create a new sub-directory named plecs containing the required files.

  3. Start PLECS by executing the program PLECS in the folder plecs.

 

Licensing and Demo Mode

If PLECS cannot locate any license file when you start it, it will show a message that it is unlicensed.

Choose Start in demo mode to use PLECS in a restricted demo mode that lets you build models and run simulations for a duration of 60 minutes. Saving models or data is disabled in this mode.

Choose Open license manager... to open the License Manager, which lets you install a license file or request a time-limited trial or student license.

If PLECS does locate license files but they do not contain a valid license (e.g. because it has expired) it will immediately open the License Manager without the option to start the demo mode.

 

License File Location

Both PLECS Standalone and PLECS Blockset search for license files named *.lic in the following directories:

Platform Search Paths
Windows C:\Users\<USER>\AppData\Local\Plexim\PLECS\licenses
C:\ProgramData\Plexim\PLECS\licenses
Mac OS X ~/Library/Application Support/Plexim/PLECS/licenses
/Library/Application Support/Plexim/PLECS/licenses
Linux ~/.local/share/Plexim/PLECS/licenses
/usr/local/share/Plexim/PLECS/licenses

Note that the Windows Explorer and Mac Finder may hide some or all of these folders by default.

The PLECS License Manager will install license files in the first directory listed for each platform because this location is usually writable by the user. However, an administrator may choose to install license files to be used for all users in the other directory.

If none of the search directories contains any license file *.lic, PLECS uses the environment variables PLEXIM_LICENSE_FILE and LM_LICENSE_FILE to locate the license file.

 

Uninstalling PLECS Standalone

Microsoft Windows:
On Windows deinstall PLECS by choosing the appropriate entry in the Windows control panel.

Mac OS X:
Drag the PLECS icon from the Applications folder to the Trash.

Linux:
Just delete the PLECS installation directory.