How to restore example to default

81 次查看(过去 30 天)
Roger Kaplan
Roger Kaplan 2024-7-26
评论: Roger Kaplan 2024-8-9,19:03
I opened a Simulink example file and made modifications before thinking of making a working copy. Now I can't get back to the original. How can I download it again from Mathworks?
  1 个评论
Torsten
Torsten 2024-7-26
Can't you reinstall the Simulink examples folder ? If not, I'd reinstall complete MATLAB.

请先登录,再进行评论。

回答(1 个)

Shubham
Shubham 2024-8-5,8:41
Hi Roger,
It is my understanding that you want to restore your Simulink example to default state. You can do so by following these steps:
  1. Open your modified Simulink example.
  2. Search for its location in your system by using 'which example_model_name' command.
  3. Go to the location and delete/move the Simulink example to some other location as per your requirement.
  4. Again, open the example using 'openExample(example_name)' command.
This will open the default Simulink example.
Hope it helps.
Regards,
Shubham
  7 个评论
Shubham
Shubham 2024-8-9,7:58
移动:Walter Roberson 2024-8-9,17:32
Hi @Roger Kaplan, It worked on my end and I was able to restore my examples to default state. Can you try implementing the solution to see if it works for you.
If you have any queries, feel free to comment
Roger Kaplan
Roger Kaplan 2024-8-9,19:03
Thanks for your suggestions, but I already altered the conditions by reinstalling the toolbox. I'll try what you suggest next time.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by