System object: phased.Platform
Package: phased
Output current position, velocity, and orientation axes of platform
[Pos,Vel] = step(sPlat,T)
[Pos,Vel] = step(sPlat,T,V)
[Pos,Vel] = step(sPlat,T,A)
[Pos,Vel,Laxes] = step(___)
Starting in R2016b, instead of using the step
method to perform the operation defined by the System
object™, you can call the object with arguments, as if it were a function. For example, y = step(obj,x)
and y = obj(x)
perform equivalent operations.
[Pos,Vel] = step(sPlat,T)
returns the current
position, Pos
, and velocity, Vel
,
of the platform. The method then updates the position and velocity.
When the MotionModel
property is set to 'Velocity'
and
the VelocitySource
property is set to 'Property'
,
the position is updated using the equation Pos
= Pos + Vel*T where T specifies
the elapsed time (in seconds) for the current step. When the MotionModel
property
is set to 'Acceleration'
and the AccelerationSource
property
is set to 'Property'
, the position and velocity
are updated using the equations Pos =
Pos + Vel*T + 1/2Acl*T^2 and Vel
= Vel + Acl*T where T specifies
the elapsed time (in seconds) for the current step.
[Pos,Vel] = step(sPlat,T,V)
returns the
current position, Pos
, and the current velocity, Vel
,
of the platform. The method then updates the position and velocity
using the equation Pos = Pos + Vel*T where T specifies
the elapsed time (in seconds) for the current step. This syntax applies
when you set the MotionModel
property to 'Velocity'
and
the VelocitySource
property to 'Input
port'
.
[Pos,Vel] = step(sPlat,T,A)
returns the
current position, Pos
, and the current velocity, Vel
,
of the platform. The method then updates the position and velocity
using the equations Pos = Pos + Vel*T
+ 1/2Acl*T^2 and Vel = Vel
+ Acl*T where T specifies the elapsed
time (in seconds) for the current step. This syntax applies when you
set the MotionModel
property to 'Acceleration'
and
the AccelerationSource
property to 'Input
port'
.
[Pos,Vel,Laxes] = step(___)
returns
the additional output Laxes
as the platform's
orientation axes when you set the OrientationAxesOutputPort
property
to true
.
The object performs an initialization the first time the object is executed. This
initialization locks nontunable properties (MATLAB)
and input specifications, such as dimensions, complexity, and data type of the input data.
If you change a nontunable property or an input specification, the System
object issues an error. To change nontunable properties or inputs, you must first
call the release
method to unlock the object.

Platform Platform, specified as a 

Step time Step time, specified as a realvalued scalar. Units are seconds 

Platform velocity Platform velocity, specified as a realvalued 3byN matrix
where N is the number of platforms to model. This
argument applies when you set the 

Platform acceleration Platform acceleration, specified as a realvalued 3byN matrix
where N is the number of platforms to model. This
argument applies when you set the 

Current platform position Current position of platform, specified as a realvalued 3by1
column vector in the form of 

Current platform velocity Current velocity of platform, specify as a realvalued 3by1
column vector in the form of 

Current platform orientation axes Current platform orientation axes, returned as realvalued 3by3byN matrix
where N is the number of platforms to model. Each
3by3 submatrix is an orthonormal matrix. This output is enabled
when you set the 