%% Retrieve Output Disturbance Model Channels with Default Integrated White Noise
% Define a plant model with no direct feedthrough, and create an MPC controller for that plant.

plant = rss(3,3,3);
plant.d = 0;
MPCobj = mpc(plant,0.1);

%
% Extract the default output disturbance model.

[outdist,channels] = getoutdist(MPCobj);

%
% Check which channels have default integrated white noise disturbances.

channels

% Integrators have been added to all three output channels.
% Copyright 2015 The MathWorks, Inc.