Can I use multiple toolboxes simultaneously in single code?

Can I use multiple optimization toolboxes (like CVX, YALMIP, other normal MATLAB optimizations, etc) simultaneously in single code on a same Windows PC? It is not going to affect to any files or results accuracy right??

You can do a lot of stuff as long as you don’t do parfor or similar. You n eed to follow rules for each toolbox. YALMIP code can be interspersed throughout a MATLAB session, including in the middle of CVX code. although doing so isn’t necessarily the best thing to do to avoid confusion. Of course you need to avoid variable and expression name conflicts, and be mindful of using the correct versions of various functions.