I have a problem dealing with opening a simulink model.

조회 수: 166 (최근 30일)
Junhyuk Kim
Junhyuk Kim 2017년 6월 21일
댓글: Ahmad Sabry 2019년 6월 27일
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
Steven Lord
Steven Lord 2017년 6월 21일
What releases are you using on the two machines?
Junhyuk Kim
Junhyuk Kim 2017년 6월 23일
One is 2016a, and the other is 2016b.

댓글을 달려면 로그인하십시오.

채택된 답변

Jatin Waghela
Jatin Waghela 2017년 6월 23일
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
mouli thirumalasetty
mouli thirumalasetty 2019년 3월 1일
yes the antivirus software us "Bitdefender" in my case is causing the issue, just disable or unistalling it worked for me!!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

milles abdessmad
milles abdessmad 2019년 5월 3일
thank's

카테고리

Help CenterFile Exchange에서 Simulink 함수에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!