Run tracking scenario and record platform states
rec = record(sc)
rec = record(sc,fmt)
sc— Tracking scenario
Tracking scenario, specified as a
fmt— Pose orientation format
Pose orientation format, specified as
'rotmat'. When specified as
field of the platform pose structure is a quaternion. When specified as
Orientation field is
a rotation matrix.
rec— Records of platform states during simulation
Records of platform states during the simulation, returned as an M-by-1 vector of structures. M is the number of time steps in the simulation. Each record corresponds to a simulation time step and contains the poses of all the platforms at that time. The record structure has these fields:
SimulationTimefield contains the simulation time of the record.
Posesis an N-by-1 vector of structures, where N is the number of platforms. Each
Posesstructure contains these fields:
Unique identifier for the platform, specified as a scalar positive integer. This is a required field with no default value.
User-defined integer used to classify the type of target, specified as a nonnegative integer. Zero is reserved for unclassified platform types and is the default value.
Position of target in scenario coordinates, specified as a real-valued 1-by-3 vector. This is a required field with no default value. Units are in meters.
Velocity of platform in scenario coordinates, specified as a real-valued 1-by-3 vector.
Units are in meters per second. The default value is
Acceleration of the platform in scenario coordinates, specified as a
1-by-3 row vector in meters per second-squared. The default value is
Orientation of the platform with respect to the local scenario NED coordinate frame,
specified as a scalar quaternion or a 3-by-3 rotation matrix. The format is
specified by the
Angular velocity of the platform in scenario coordinates, specified as a real-valued
1-by-3 vector. The magnitude of the vector defines the angular speed. The
direction defines the axis of clockwise rotation. Units are in degrees per
second. The default is value