TPT User's Guide - PikeTec
TPT User's Guide - PikeTec
TPT User's Guide - PikeTec
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>TPT</strong> <strong>User's</strong> <strong>Guide</strong> Page 43<br />
Figure 26: MATLAB platform configuration<br />
Test execution configuration<br />
In the test execution configuration for a Simulink model file has to be specified. This consists of<br />
the system model and the <strong>TPT</strong> virtual machine. Please note that this model file doesn’t have to<br />
be generated manually. The test-frame may be generated automatically (see section 0: Original<br />
model settings).<br />
A <strong>TPT</strong> I/O-file needs to be generated. This M-file consists of the port definition and other<br />
variables of the Simulink environment needed for <strong>TPT</strong>. This m-file is generated automatically<br />
from the channel declaration (cf. Section 2).<br />
The step-size (1/sampling rate) of the <strong>TPT</strong>-block needs to be specified (see Figure 27).<br />
The step size is only valid for the <strong>TPT</strong>-S-function in Simulink and has no influence on the Simulink solver.<br />
The timeout specifies the maximum simulation time. The simulation terminates after the<br />
timeout value if it has not already terminated.<br />
The history size field defines the number of samples that are held in memory and can be<br />
accessed during test execution.<br />
The content of the “Model load script” is generated automatically but can also edit by the user.<br />
This script is run in MATLAB when the model is opened. The user can add proprietary scripts<br />
and MATLAB function calls if needed.<br />
In the MATLAB communication settings the user can specify how often MATLAB is restarted<br />
during test-execution. This might be useful to avoid memory errors. Also it can be specified if<br />
MATLAB should be kept open after the last test has been executed.