Avoiding unnecessary code generation

Hi :wave:

I am using the Matlab interface of acados and I see that the latest changes on using the template based interface currently force the code generation and compilation, every time the ocp object is initialized. It would be really nice if the settings compile_interface and codgen_model worked properly again, so that to give the possibility to skip the code generation and compilation.

Looking forward for this feature!

We’ll try to make it happen soon.