Why doesn’t the Simulink Editor window open automatically when I double-click a .slx file on Windows?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
When I double-click any Simulink .slx file, MATLAB opens, but it only stays in the Command Window without launching the Simulink Editor window to display the model.
I’ve already made sure that MATLAB is set as the default program to open .slx files in the Windows settings. The file icon also shows the MATLAB logo, and when I double-click, it does open MATLAB — but it doesn’t automatically open the Simulink model in the Simulink Editor.
How can I fix this behavior and make .slx files open directly in the Simulink Editor when double-clicked, as expected?
I’m using MATLAB R2022b on Windows, with MATLAB installed on a drive other than C:\, but all cache and preferences are still located in C:\Users\<user>\AppData\Local\MathWorks\ as usual.
0 comentarios
Respuestas (1)
Fangjun Jiang
el 3 de Jul. de 2025
I tried R2022b on a Windows machine, double clicking a .slx file will open MATLAB and then the Simulink model is opened.
Try re-setting it on your computer. On Windows File Explorer, right click a .slx file, select "Open with", select "Choose another app", choose MATLAB R2022b, check "Always".
0 comentarios
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!