**Error Shown on Screen** :

Error using *

Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in

the second matrix. To perform elementwise multiplication, use ‘.*’.

Error in cvxprob/eliminate (line 137)

P = P * cvx_invert_structure( xR );

Error in cvxprob/solve (line 18)

[ At, cones, sgn, Q, P, dualized ] = eliminate( prob, true, shim.dualize );

Error in cvx_end (line 88)

solve( prob );

Error in cvx_opt_alg (line 102)

cvx_end

This error comes up once in 2-3 times I run the simulation(the other times it gives me expected result) and I can’t figure out where I am going wrong. Also, in general, it is expected that CVX will print status and other stuff if not kept in quiet mode. But, for me, surprisingly, it doesn’t print anything. Is that I am using Matlab 2018b version ??