releasedata

Releases data from memory after using the functions readvectors, readmultvectors or readcae. The function has two forms and take similar arguments as readvector.

Attention: Available only with Twin Activate commercial edition.

Syntax

releasedata(filename, datatype, request, component)

releasedata(filename, subcase, datatype, request, component)

Inputs

filename
Path of the file.
Type: string
subcase
Subcase name or index in the file.
Type: string | int
datatype
Data type name or index in the file. Negative index match all data types.
Type: string | int | cell
request
Request name or index in the file. Negative index match all requests.
Type: string | int | cell
component
Component name or index in the file. Negative index match all components.
Type: string | int | cell

Example

Basic releasedata example:

data = readvector('Path/To/File/ANGACC','Angular Acceleration', '50th% Hybrid3   - UPPER LEG RIGHT', [1,2]);
releasedata('Path/To/File/ANGACC','Angular Acceleration', '50th% Hybrid3   - UPPER LEG RIGHT', [1,2])