Error using open line 163

조회 수: 5 (최근 30일)
Burak Cem KARABAG
Burak Cem KARABAG 2019년 5월 2일
답변: Walter Roberson 2019년 5월 3일
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]

답변 (1개)

Walter Roberson
Walter Roberson 2019년 5월 3일
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.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by