Cannot open simulink .slx file

Capture2.PNG
Capture.PNG
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?

6 件のコメント

Walter Roberson
Walter Roberson 2019 年 6 月 9 日
Can you attach the file here for us to test?
debing wei
debing wei 2019 年 6 月 9 日
Sure, thank you very much.
Walter Roberson
Walter Roberson 2019 年 6 月 9 日
It loads for me, but seems ot be missing a library commhdlio which appears to deal with HDL; I do not have all of the HDL installed.
The model was saved with R2018a. Is it possible that you are using a release earlier than that?
debing wei
debing wei 2019 年 6 月 9 日
No, I am using 2018a
debing wei
debing wei 2019 年 6 月 9 日
If you can open it, could you save it as a different name and attach it here please. I wanna try and see if I still have the same problem. Thank you very much.
Walter Roberson
Walter Roberson 2019 年 6 月 9 日
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.

サインインしてコメントする。

回答 (1 件)

Munish Raj
Munish Raj 2019 年 6 月 11 日

0 投票

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.

2 件のコメント

debing wei
debing wei 2019 年 6 月 12 日
Hi Munish,
Thank you for the advice. I still get a little bit confused here. Since I cannot open the model, how can I copy the entire contents or save it in MDL format?
Walter Roberson
Walter Roberson 2019 年 6 月 13 日
If you can post the link to the complete project, I might be able to do the conversion, as it opens for me.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGeneral Applications についてさらに検索

質問済み:

2019 年 6 月 9 日

コメント済み:

2019 年 6 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by