Question: how to save as mdl file?
Answer: On the Simulation tab, select Save > Save As. Leave the default Save as type as SLX, and click Save. Simulink saves your model in SLX format, and creates a backup file by renaming the MDL (if writable) to mymodel. mdl. releasename , e.g., mymodel. mdl. R2010b .