MATLAB Answers

Cannot open simulink .slx file

49 views (last 30 days)
debing wei
debing wei on 9 Jun 2019
Commented: Walter Roberson on 13 Jun 2019
I cannot open my simulink file after adding tags to it. I think the problem is using the File Meta Association Manager to create Tag property for .slx file. I also cannot delete the tags now. Can someone tell me how to recover this simulink file please?
Walter Roberson
Walter Roberson on 9 Jun 2019
I do not appear to have the comhdlio library installed in any release, so I am having difficulty tracking it down. I am also having difficulty finding a source for the model that might document requirements.

Sign in to comment.

Answers (1)

Munish Raj
Munish Raj on 11 Jun 2019
This issue could be related to the file structure while saving which may be getting corrupted. This has been reported as a bug for this release.
Possible workarounds:
(1) Copy and paste entire contents of the main model from the old one to a new one and save that as SLX format.
(2) Save the original file in MDL format first, using "Save As" and re-save in SLX format. Although this is a convoluted method, re-saving the final SLX format as SLX again does not lead to the error later.
Walter Roberson
Walter Roberson on 13 Jun 2019
If you can post the link to the complete project, I might be able to do the conversion, as it opens for me.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by