FUNCTION REFERENCE
setindist
Set or reset the MPC input disturbance model.
Set or reset the MPC input disturbance model.
Syntax
setindist(c,'model',model) | setindist(c,'integrators')A model has one output per UD and independent unit white-noise inputs. Static numeric gains and LTI models are accepted. [] or an omitted model restores default integrators.
Example
p=ss(0.8,[0.2 0.4],1,[0 0],0.1); p=setmpcsignals(p,'MV',1,'UD',2); c=mpc(p); setindist(c,'model',0.5); getindist(c)Differences from MATLAB: value semantics; the statement updates its named controller argument. 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.