Error using open line 163

5 views (last 30 days)
Burak Cem KARABAG
Burak Cem KARABAG on 2 May 2019
Answered: Walter Roberson on 3 May 2019
Hello there. I am currently working on one of these files for my thesis. I'm currently working on the 2019 version, but the files are written in 2013 and earlier. When I try to open the files, I am getting an 'error using open (line 163) 'g' was not expected here' and 'error using open (line 145) does not contain a valid simulink model of Matlab' errors. Is there any helper? [i tried on 2012a version but it didn't change anything]

Answers (1)

Walter Roberson
Walter Roberson on 3 May 2019
Those files do not contain valid Simulink .mdl . Simulink .mdl files are text files, and they start with word 'Model'. Those files are binary files with no discernable structure.
My test software says that the files are not compressed with any utility that I was able to find "magic numbers" for.
The files are not .slx files renamed.
It is possible that the files are encrypted using some utility or other. They are, however, not Simulink Protected Models.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!