%% Display Optimization Constraint
% Display an array of optimization constraints.

x = optimvar('x',3,2);
constr = sum(x,2) <= [1;3;2];
showconstr(constr)

% Copyright 2012 The MathWorks, Inc.