How to combine simulnk control module for real-time operation?
Here is the most recent link on using Simulink with CVX. CVX and Simulink Problem .
You can also search
on this forum for other relevant posts.
I think you are likely on your own, because use of Simulink with CVX is not supported.
thank you for you answer ,Do you know about CVXGEN? which can generate code directly into the SIMULINK model, but I can’t use it.
CVXGEN has no relation to CVX, other than a common academic parent/grandparent.