Can I use in matlab package distribution

I would like to create an exe from my Matlab code for easily sending of my function. If I want to use CVX inside, is it possible? If yes, what files do I need to add to the package (for the matlab compiler) or what is the procedure to do it?

I’m afraid it is not possible, no. A number of people have attempted to use the compiler with CVX models with no success; and I am not surprised—I have to pull some pretty weird tricks to get CVX to work as it does.

Thanks for your response. I’m sorry to hear about that. I think it would be a desirable feature to add in the future. Otherwise, it inhibits the developer to send his development in most practical cases.

We have other plans in the works to enable the embedding of CVX models in applications, actually, but it is a long term undertaking.