```
e=xlsread('D:\Cabaza\matlab\monthlymeanSeries.csv','B2:AO2') % 1 * matrix %;
n = length(e);
%e = u(1:n);
sigma=xlsread('D:\Cabaza\matlab\monthlyvarianceSeries.csv','B2:AO41'); % 50 * 50 matrix %
W=1000000; % Initial total wealth to invest %
b = 1000000; % atleast b wealth with probability 'alpha' after return %
alpha=0.1;
zalpha = norminv(1-alpha,0,1);
T = cholcov(sigma); %cholesky like decomposition s.t. sigma = T * T.'%
cvx_begin
variable x(n)
maximize( e*x ) % maximize expected return %
subject to
sum(x)== W % total wealth %
_b - e*x + ((zalpha*normcdf(zalpha)-int(@(x) normcdf(x),x,-Inf, zalpha)) * norm((T.' * x),2)) <= 0_
x >= zeros(n, 1)
cvx_end
```

This is one of the constraint in my optimization problem -

b - e*x + ((zalpha*normcdf(zalpha)-int(@(x) normcdf(x),x,-Inf, zalpha)) * norm((T.’ * x),2)) <= 0

and this constraint is giving me the error -

Undefined function ‘int’ for input arguments of type ‘cvx’.

How do I resolve this error ?