PLECS 3.0.3 Blockset Packages
Running the PLECS Blockset requires MATLAB and Simulink on your system. The table below shows the platforms and MATLAB versions currently supported by the PLECS Blockset. Download the appropriate package file and follow the install instructions below or in the PLECS User Manual. The PLECS Blockset is configured as the full version or the PLECS Viewer via the license file. The package files were last modified on Feb 25, 2010.
Installation Instructions
Note You do not need administrator privileges in order to install PLECS.
Microsoft Windows
-
Unzip the appropriate package file in a directory of your choice either with
pkzip -d filename.zip
or with WinZIP. This will create a new sub-directory named plecs containing the required files. If you use WinZIP make sure that "Use Folder Names" is checked in the "Extract" menu.
-
If you have purchased a license for the full version you will have received a license file license.dat. Copy this file into the just created directory named plecs.
If you would like to install the PLECS Viewer, copy the file viewerlicense.dat from the sub-directory plecs/private into plecs and rename it to license.dat.
-
In MATLAB, add the new directory plecs and the sub-directory demos to your search path using the Path Browser. The Path Browser is found under the menu item "File - Set Path - Add Folder".
-
If you previously had installed an older version of PLECS execute
plecsclear
rehash toolboxcache
in the MATLAB command line.
Mac OS X / Linux
-
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.
-
If you have purchased a license for the full version you will have received a license file license.dat. Copy this file into the just created directory named plecs.
If you would like to install the PLECS Viewer, copy the file viewerlicense.dat from the sub-directory plecs/private into plecs and rename it to license.dat.
-
In MATLAB, add the new directory plecs and the sub-directory demos to your search path. Use the Path Browser under the menu item "File - Set Path - Add Folder". Alternatively, edit directly the file pathdef.m in the directory matlabroot/toolbox/local/. If you do not have file system permission to modify the file pathdef.m add the commands
addpath('plecs_directory');
addpath('plecs_directory/demos');
to the file ~/matlab/startup.m. (In case the file does not exist create an empty file startup.m in the sub-directory matlab of your home directory.)
-
If you previously had installed an older version of PLECS execute
plecsclear
rehash toolboxcache
in the MATLAB command line.
Configuring PLECS
For information about setting global configuration options for PLECS see the section "Configuring PLECS" in the PLECS User Manual.
Start Using PLECS
To start using PLECS either type the command plecslib or look for PLECS in "Blocksets & Toolboxes" in Simulink.
Installing Different PLECS Versions in Parallel
If you want to keep different versions of PLECS installed in parallel on one computer, you must ensure that only one version is on your MATLAB path at any time during a MATLAB session. Otherwise, loss of data may occur. Before changing the MATLAB path, be sure to clear the currently loaded PLECS module by entering plecsclear at the MATLAB command prompt. As an additional precaution you should restart MATLAB after the change.
Uninstalling PLECS
To uninstall PLECS from your computer follow the procedure below.
-
Locate the directory where PLECS is installed by entering
which plecsedit
in the MATLAB command line.
-
Remove the PLECS directory and its subdirectory demos from the search path. Depending on how the directories were added to the path during installation, this is done using the Path Browser or by editing the file pathdef.m in the directory matlabroot/toolbox/local/ or the file ~/matlab/startup.m.
-
Quit MATLAB.
-
Delete the PLECS directory.
|