.SLX

SLX File

Simulink Model File
Ask a question
QUICK ANSWER

An SLX file is a Simulink block-diagram model by MathWorks. To open it you need MATLAB with the Simulink add-on - double-click the file or run open_system('model.slx') at the MATLAB prompt. There is no free standalone viewer. Note: some databases wrongly label .slx as a SpectraLayers audio project; it is not.

Developer: The MathWorks Category: Data Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .PKPASS · .DAT · .JSON · .RIS

On this page

19k+ extensions indexed
Last reviewed Aug 18, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SLX file format?

.slx files are associated with Simulink, a simulation software. Simulink is a graphical programming environment that uses blocks and diagramming tools as its basic elements, which users combine to create complex dynamic models and run simulations.

.slx is the successor to the legacy .mdl format, introduced in MATLAB/Simulink R2012a. Unlike the plain-text .mdl, an .slx file is packaged as a ZIP archive following Open Packaging Conventions (OPC). Inside, the primary model data lives in simulink/blockdiagram.xml using UTF-8-encoded XML, and compression is applied per entry using DEFLATE - making .slx files considerably more compact. The XML structure also gives .slx proper support for non-ASCII characters and makes it more amenable to version control systems.

Simulink is a package for MATLAB, developed by The MathWorks. MATLAB is very popular among scientists, and most technical and engineering degree programs require students to learn it. The environment allows users to model complex systems or perform mathematical calculations.

Security & safety

RISK: MEDIUM

An SLX is a data/model file, not an executable, so simply opening one is low-risk. The caveat is that Simulink models can contain callbacks and embedded MATLAB code (model/block callbacks, InitFcn, S-functions) that run when the model is opened or simulated - so a model from an untrusted source could execute arbitrary MATLAB. Open unfamiliar models with caution, review callbacks, and be wary of S-functions that call out to compiled binaries. Fake 'SLX viewer' download sites can bundle adware - there is no legitimate free standalone SLX viewer; use MATLAB/Simulink or unzip the file to inspect its XML.

Format details

in a nutshell
FULL NAMESimulink Model Fileaka Simulink model, SLX model
DEVELOPERThe MathWorkssince 2012 (MATLAB/Simulink R2012a); default model format since R2012b
CATEGORYData Files
MIME TYPEapplication/octet-stream
TYPEZIP-based (Open Packaging Conventions) XML model package
This extension is also used by…
  • Excel SLX symbolic-link spreadsheet (legacy) - Old SYLK/SLX symbolic link spreadsheet export - obsolete, rarely seen today.
  • Surfer SLX color spectrum / Sublime license (.slx) - Golden Software Surfer color-scale files and some app license files also use .slx; unrelated to Simulink.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
Identical first bytes to any ZIP / OOXML file. Distinguish by internal layout: a /simulink/ folder containing blockdiagram.xml plus [Content_Types].xml and metadata/.

Programs that open SLX files

Windows3 apps
7-Zip Open-source Rename .slx to .zip (or Open archive) to inspect blockdiagram.xml - does NOT render the diagram, only views the raw XML.
Simulink (MATLAB) Paid Install MATLAB with Simulink, then double-click the .slx - or type open_system('model.slx') / simulink at the MATLAB prompt.
MATLAB Online Freemium Upload the .slx to MATLAB Online (browser) and open it in Simulink without a local install (license/trial required).
macOS1 app
Simulink (MATLAB) Paid Open MATLAB for Mac with Simulink installed; double-click the model or use open_system.
Linux1 app
Simulink (MATLAB) Paid Run MATLAB on Linux with Simulink; open_system('model.slx') or double-click in the file browser.

Technical details

deep spec
Container formatZIP archive following Open Packaging Conventions (OPC), the same container family used by OOXML
Primary internal file`simulink/blockdiagram.xml` holds block hierarchy, parameters, and wiring; supplemented by `[Content_Types].xml` and metadata parts
Text encodingUTF-8 throughout all XML parts
Byte orderLittle-endian (ZIP binary structures)
CompressionDEFLATE per ZIP entry; results in files significantly smaller than equivalent `.mdl` text
Magic bytes`50 4B 03 04` (`PK`) at offset 0 - standard ZIP local file header; interior folder layout distinguishes it from a generic ZIP
MIME type`application/octet-stream` (primary); also recognized as `application/zip`
Schema versioningXML schema is versioned per MATLAB release; newer Simulink reads older `.slx` files; older Simulink may refuse models saved by a newer release
Protected variant`.slxp` - an encrypted/locked form of the model that hides block internals while still allowing simulation
Version controlXML parts are diff-friendly; Simulink Projects integrates with Git and SVN for tracking `.slx` changes across teams
Unicode supportFull Unicode/UTF-8 in block names and annotations, resolving the non-ASCII limitation of the legacy `.mdl` format
Typical file sizeTens of KB to several MB depending on model complexity; substantially more compact than a `.mdl` of equal content
Related companion formats`.slxc` (Simulink cache), `.slddx` (data dictionary), `.slreqx` (requirements linkage)
Supported platformsWindows, macOS, Linux - anywhere MATLAB/Simulink is installed; also editable via MATLAB Online
Released2012 (MATLAB/Simulink R2012a); default model format since R2012b
Latest versionOngoing - current Simulink R2025a/R2025b; SLX is the maintained default model format
Specificationwww.mathworks.com

SLX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SLX files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SLX files.

Frequently asked questions

How do I open an SLX file?
You need MATLAB with the Simulink add-on. Double-click the .slx, or at the MATLAB prompt run open_system('yourmodel.slx'). There is no free standalone Simulink viewer.
Can I open an SLX without MATLAB?
Not to view the live diagram. You can rename it to .zip and read the internal blockdiagram.xml to inspect the structure, but rendering and simulating require Simulink (a free MATLAB trial or MATLAB Online can work).
What's the difference between SLX and MDL?
Both are Simulink models. MDL is the older plain-text format; SLX (default since R2012b) is a ZIP/XML package - smaller, UTF-8 (fixes Asian-character issues) and far better for version control.
Why won't my SLX open in my version of Simulink?
It was likely saved in a newer MATLAB release. Ask the sender to export it for your version with Simulink > Save As (Export to Previous Version), or update MATLAB.
Is an SLX file an audio or spreadsheet file?
No. Some databases mislabel .slx as a 'SpectraLayers audio project' or a SYLK spreadsheet. In modern use .slx is overwhelmingly a Simulink (MathWorks) simulation model.
How do I convert SLX to MDL?
In Simulink choose Save As and select 'Simulink Model (*.mdl)', or run Simulink.exportToVersion to target an older release. Going mdl->slx is just opening the MDL and saving as SLX.

References

1MathWorks - Simulink product pagewww.mathworks.com
2MathWorks - Save and back up models (SLX/MDL)www.mathworks.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.CRDOWNLOADChrome Partial Download File
5.RPMSGRestricted Permission Message
6.PARTPartial Download File
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.DBSQLite Database File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z