%% Modify Model Properties
% You can also modify model properties using dot notation. For example, consider this AR(2) specification:

Mdl = arima('AR',{0.8,-0.2},'Variance',0.2,'Constant',0)

%
% The created model has the default Gaussian innovation distribution. Change the innovation distribution to a Student's t distribution with eight degrees of freedom. The data type for Distribution is a struct array.

Mdl.Distribution = struct('Name','t','DoF',8)

% The variable Mdl is updated accordingly.
% Copyright 2015 The MathWorks, Inc.