Installation

The system requirements for the MATLAB® PC and the runtime PC are described below. Next, we will describe how to install TwinCAT Build 4026 or higher using the TwinCAT Package Manager, and how to install TwinCAT Build 4024 using the setup program.

Please note that TwinCAT 3.1 Build 4026 or higher (TwinCAT Package Manager installation) is required to use the full range of features of the TE1410 product.

System requirements

A distinction is made between the system running MATLAB®, Simulink® or the MATLAB® Compiler™ Runtime (hereinafter MATLAB® PC) and the system running the TwinCAT Runtime (runtime PC). The installation only needs to be run on the MATLAB® PC.

MATLAB® PC

Runtime PC

TwinCAT Package Manager: Installation (TwinCAT 3.1 Build 4026)

Detailed instructions on installing products can be found in the chapter Managing TwinCAT software in the TwinCAT 3.1 Build 4026 installation instructions.

Install the following workload to be able to use the product:

In the UI: TE1410 | TwinCAT 3 Interface for MATLAB®/Simulink®

In the command line: tcpkg install TE1410.InterfaceForMATLABSimulink.XAE

The TE1410 product is installed in the TwinCAT folder structure, i.e. it is separate from the MATLAB® installation. To use the functions from TE1410 in your version of MATLAB®, you must register the TE1410 installation with your MATLAB® installation.
To do this, perform the steps listed below.

Installation 1:

The procedure described below is also necessary after updating the TE1410 product.

The system requirements (MATLAB® PC) have been met.
The TE1410 workload is installed (see Managing TwinCAT software).
You have administrator rights on your system. Without administrator rights, you must perform Step 2 after every (re)start of MATLAB®.
1. Launch MATLAB® with administrator rights.
2. Run the command below at the MATLAB® command line to start the installation script.
You can then use the functions of the TE1410 product in your MATLAB® installation.
run(getenv("TWINCAT3DIR") + "..\Functions\TE14xx-ToolsForMatlabAndSimulink\SetupTE14xx.p")

Setup: Installation (TwinCAT 3.1 Build 4024)

The system requirements (MATLAB® PC) have been met.
You have administrator rights on your system. Without administrator rights, you must perform Step 4 after every (re)start of MATLAB®.
1. Start TwinCAT Tools for MATLAB® and Simulink® setup to install the TE1410.
2. Follow the instructions in the setup window.
The TE1410 is installed within the TwinCAT folder structure, which means that the TE1410 installation is separate from your MATLAB® installation. To use the functions from TE1410, you must register the TE1410 installation with your MATLAB® installation. To do this, perform the following steps. These steps are also necessary after updating the TE1410.
3. Launch MATLAB® with administrator rights.
4. Run the command below at the MATLAB® command line to start the installation script.
You can then use the functions of the TE1410 product in your MATLAB® installation.
run(getenv("TWINCAT3DIR") + "..\Functions\TE14xx-ToolsForMatlabAndSimulink\SetupTE14xx.p")