d2d

Change MPC controller sample

Syntax

MPCobj = d2d(MPCobj,Ts)

Description

The d2d function changes the sample time of the MPC controller MPCobj to Ts. All models are sampled or resampled as soon as the QP matrices must be computed, for example when sim or mpcmove are called.

See Also

|

Introduced before R2006a