vrnode/interpolate
(To be removed) Interpolate field value
Since R2023a
vrnode/interpolate
will be removed in a future release. For more
information, see Version History.
Syntax
interpolate(Node,FieldName,NewValue) interpolate(Node,FieldName, NewValue,Shape) interpolate(Node,FieldName,NewValue,Shape, Duration) interpolate(Node,FieldName,NewValue,Shape,Duration,FPS)
Arguments
| Node with field, can be a vector. |
FieldName | String array or cell array of character vectors. |
NewValue | String array or cell array of character vectors. |
Shape | Shape of the interpolation curve:
|
Duration | Interpolation duration, in seconds. Default is
|
FPS | Number of interpolation points per one second of duration time. |
Description
interpolate(Node,FieldName,NewValue)
interpolates any writable
numerical field specified by the FieldName
from its current value to
NewValue
. If Node
is a vector, then
FieldName
and NewValue
must be cell arrays of the
same size. The software simultaneously interpolates multiple node fields.
interpolate(Node,FieldName,NewValue,Shape)
specifies the shape of the
interpolation curve.
interpolate(Node,FieldName,NewValue,Shape,Duration)
specifies the
interpolation duration.
interpolate(Node,FieldName,NewValue,Shape,Duration,FPS)
specifies the
number of interpolation points per second.