%% Set the Solver Type as 'fmincon' for a PortfolioCVaR Object
% Use 'fmincon' as the solverType.

p = PortfolioCVaR;
p = setSolver(p, 'fmincon');
display(p.solverType);

% Copyright 2015 The MathWorks, Inc.