FUNCTION REFERENCE

getindist

Retrieve the discrete MPC input disturbance model.

Retrieve the discrete MPC input disturbance model.

Syntax

[model,channels] = getindist(c)

Default integrators are added to unmeasured input disturbance channels before output integrators, preserving observability. Each default integrator is Ts/(z-1). Other UD channels use static unity gain. Channels are one-based indices within the UD vector; custom models return empty channels.

Example

p=ss(0.8,[0.2 0.4],1,[0 0],0.1); p=setmpcsignals(p,'MV',1,'UD',2); c=mpc(p); [model,channels]=getindist(c)

Differences from MATLAB: an absent disturbance model returns [] because zero-port ss objects are not supported yet; discrete sample-time resampling is not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.