xPC Target | ![]() ![]() |
Get all or part of the output logs from the target object
Syntax
Arguments
Description
Method of a target object. Use this function instead of the function get
when you want only part of the data.
Examples
To get the first 1000 points in a log:
To get every other point in the output log and plot values:
Output_log = getlog(tg, 'TETLog', 1, ,2) Time_log = getlog(tg, 'TimeLog', 1, ,2) plot(Time_log, Output_log)
See Also
The xPC Target target object method get
. The procedures Entering the Real-Time Workshop Parameters and Entering the Real-Time Workshop Parameters.
![]() | get | getparamid | ![]() |