The subject of performance includes the time it takes to generate code, the execution speed of the generated code, and its memory usage. Tuning your MATLAB® code and code generation settings for best performance depends on your goals and applications. For more information about how to optimize your code for specific conditions, see Optimization Strategies.