I have a problem dealing with opening a simulink model.
27 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Jatin Waghela
on 23 Jun 2017
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 Comments
mouli thirumalasetty
on 1 Mar 2019
yes the antivirus software us "Bitdefender" in my case is causing the issue, just disable or unistalling it worked for me!!
More Answers (2)
Kazem
on 21 Jul 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
0 Comments
See Also
Categories
Find more on Simulink 환경 사용자 지정 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!