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

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

%
% Extract the output disturbance model.

outdist = getoutdist(MPCobj);

% Copyright 2012 The MathWorks, Inc.