This example project uses the Project Environment template to set the MATLAB path, and configure where generated code is placed (slprj folder location).