Unable to open simulink SLX file

31 Ansichten (letzte 30 Tage)
Advait Kshirsagar
Advait Kshirsagar am 31 Okt. 2022
Bearbeitet: Kazem am 21 Jul. 2025
Hello Im, Unable to open slx file which I have created in earlier version of MATLAB 2020b. As I have seen in some related answers, I have to Open and then re-save it, but I dont have older version of MATLAB, can somebody help me to resolve this issue, below is the screenshot of error.

Antworten (2)

Walter Roberson
Walter Roberson am 31 Okt. 2022
That is not a problem of version incompatibility: MATLAB is saying that the file is the wrong format to be a Simulink model.
Sometimes there can be problems accessing files across network drives (especially if the file is on OneDrive) that can be solved by copying the file to a local drive. Sometimes network drives corrupt a file and make it unusable. Sometimes there are permissions problems accessing a file.
And sometimes the file just is not a Simulink model. For example a mdl file might have gotten renamed as slx, or a slx might have gotten unzipped.
You can copy the slx file and attempt to unzip it. A valid slx file will unzip into a directory with a couple of subdirectories, with most of the files being XML files. If the file will not unzip then it is not a valid slx file.

Kazem
Kazem am 21 Jul. 2025
Bearbeitet: Kazem am 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

Kategorien

Mehr zu Install Products finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by