How to solve the problem

Here is the most recent link on using Simulink with CVX. CVX and Simulink Problem .

You can also search
Simulink
on this forum for other relevant posts.

I think you are likely on your own, because use of Simulink with CVX is not supported.