How do I delete a Simulink template?
古いコメントを表示
I created a Simulink template that I no longer wanted to show on my "Simulink Start Page" so I deleted the .sltx file. Now I am getting the following error (pretty much continuously)
Warning: An error has occurred during refresh of Action named createNewBlankModelAction.
Warning: Generator should return a DAStudio.ToolSchema.
Warning: Error reading file "C:\Users\Charlie\Documents\MATLAB\ME322_326_Blank_Model.sltx". Failed to open reader with error: Package does not exist
Do I need to do something in Simulink so that it stops looking for this template file?
採用された回答
その他の回答 (4 件)
Alessandro
2019 年 10 月 29 日
0 投票
I am facing the same problem, please Mathworks staff clarify this issue ...
I have checked and the template file that it is complaining about does exist
Any ideas anyone ??
Sviatoslav Klos
2020 年 2 月 7 日
0 投票
Hi guys,
I am facing the same. For now I am dealing with it with the use of warning off; command in command window. Then, it is not disturbing me ;)
It might be so that you have to run the command every time you lunch MATLAB or automate this thing in some way.
Srimouli Rukmabhatla
2020 年 3 月 26 日
0 投票
Hi,
You can remove the template from Simulink start page, Navigate to template location specified in template details and delete the template .For more information about templates refer the documentation https://www.mathworks.com/help/simulink/ug/create-a-template-from-the-current-project.html
3 件のコメント
Tom Bryan
2020 年 3 月 26 日
How do you find the "template details"? It's not specified in the doc.
Robert Lipham
2020 年 4 月 14 日
編集済み: Robert Lipham
2020 年 4 月 26 日
This answer does not address the issue. Further, I'm still having this issue even after resinstalling MATLAB in its entirety. MATLAB seems to be looking for a Simulink template file even though it has been removed. The refresh action seems to occur each time something major happens in Simulink (like opening a new Simulink file or closing Simulink).
Update: Found a solution. See answer in this discussion or via:https://www.mathworks.com/matlabcentral/answers/485544-how-do-i-delete-a-simulink-template#answer_428526
裴国彪
2022 年 10 月 12 日
This can only delete the template file only, the group name is still in Startup Page.
カテゴリ
ヘルプ センター および File Exchange で Interactive Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!