Expressions in objective functions must be real

I am trying to solve SDP problem
cvx_begin quiet
variable V(m,m) hermitian
subject to
for i=1:I
trace(B(:,:,i)*V) >=sigma(i);
for l=1:L
trace(D(:,:,i,l)*V) >=gama_min(l);
V == hermitian_semidefinite(m);
where A,B and D are psd matrices. But I encounter “Expressions in objective functions must be real”.
Please help me and tell me where the problem is?

Can you provide a simple, small, reproducible problem, with input data, sufficient to exhibit the error?

I recommend not using the quiet option until your program is working well.

I solved it.
thank you very much