I have a problem dealing with opening a simulink model.

Hello,
I'm trying on opening a simulink model. (*.slx file) However, when I double click on the file, it keeps saying "File '.....' does not contain a valid Simulink model in SLX format : Could not open source package". I tried excecuting exactly the same file on other PC, it worked.
I think there's something wrong with MATLAB settings on one of my PCs, Is there anyone who can help me out?
Thank you!

2 comentarios

Steven Lord
Steven Lord el 21 de Jun. de 2017
What releases are you using on the two machines?
Junhyuk Kim
Junhyuk Kim el 23 de Jun. de 2017
One is 2016a, and the other is 2016b.

Iniciar sesión para comentar.

 Respuesta aceptada

Jatin Waghela
Jatin Waghela el 23 de Jun. de 2017

0 votos

The issue looks like system specific. Antivirus, security software or virtualization can corrupt the files. This can also lead to this kind of error. Save the model file after disabling the antivirus in your system. Check file size after saving the model, if the file size is less, that is the size in few KBs then the file might be corrupted. Try saving the model in a different folder, if you see any permission issues. Also, create a simple model and save the model in the same folder and check whether you are able to open the model or not.

4 comentarios

Junhyuk Kim
Junhyuk Kim el 23 de Jun. de 2017
Thanks a lot! I think the security issue on my computer was the problem. The file size was very less.
guanlin yan
guanlin yan el 14 de Dic. de 2017
Hi, did you solve this problem yet? I just come up with this problem too. my slx file couldn't be open on other computers either. File size didn't change, I'm wondering if the slx file was corrupt because of hard disk's problem.
yes the antivirus software us "Bitdefender" in my case is causing the issue, just disable or unistalling it worked for me!!
Ahmad Sabry
Ahmad Sabry el 27 de Jun. de 2019
Thanks

Iniciar sesión para comentar.

Más respuestas (2)

Kazem
Kazem el 21 de Jul. de 2025
For me, it was solved
My files was on git lfs
Go to the coloned folder and run this in Git
git lfs pull

Categorías

Más información sobre 프로그래밍 방식의 모델 편집 en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Jun. de 2017

Respondida:

el 21 de Jul. de 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!