Dİvision error / Disciplined convex programming error: Cannot perform the operation: {real affine} ./ {real affine}

I have this error because of the division (cvx_variable/cvx_variable)
Disciplined convex programming error: Cannot perform the operation: {real affine} ./ {real affine}

Could you help me ?

cvx_begin
variables temp_S_m_vec(length(temp_ind_CUE_vec))

temp_opt_func = cvx(zeros(length(temp_ind_CUE_vec),1));
temp_const_2 = cvx(zeros(length(temp_ind_CUE_vec),1));


for i=1:length(temp_ind_CUE_vec)

temp_opt_func_2=(temp_S_m_vec(i)*temp_alpha_mb_vec(i)*temp_alpha_k_vec(i));
    
temp_opt_func_3=(noise_pow*temp_alpha_k_vec(i)+temp_alpha_kb_vec(i)*temp_gamma_k_vec(i)...
*noise_pow+ temp_S_m_vec(i)*temp_alpha_kb_vec(i)*temp_gamma_k_vec(i)...
*temp_alpha_mk_vec(i));

temp_opt_func_1=temp_opt_func_2./(temp_opt_func_3(1));
temp_opt_func(i)=log(1+temp_opt_func_1)/log(2);

temp_const_2(i)=((temp_gamma_k_vec(i)*noise_pow)/temp_alpha_k_vec(i))+...
    ((temp_S_m_vec(i)*temp_gamma_k_vec(i)*temp_alpha_mk_vec(i))/...
    (temp_alpha_k_vec(i)));

end
temp_sum_S_m=sum(temp_S_m_vec);
temp_sum_const_2=sum(temp_const_2);

  minimize(temp_sum_S_m)      
subject to
        cvx(zeros(length(temp_ind_CUE_vec))) <=temp_S_m_vec
    temp_sum_S_m <= (P_c_max*length(temp_ind_CUE_vec))
    temp_sum_const_2 <= (P_d_max*length(temp_ind_CUE_vec))

cvx_end

Have you proven this problem is convex?