%% Define Default Constraints for the PortfolioCVaR Object
% Assuming you have 20 assets, you can define the "default" portfolio set.

p = PortfolioCVaR('NumAssets', 20);
p = setDefaultConstraints(p);
disp(p);

% Copyright 2015 The MathWorks, Inc.