Using monte carlo in CVX

I have an SDP problem which i want to solve using monte carlo simulation.
i want to know where should i use my CVX solver? in the FOR loop or after it?

You need to provide more information about the problem you are solving. What are the CVX problems you are solving? How does Monte Carlo simulation come into play? Are you solving a CVX problem for each Monte Carlo replication (trial)?