How to restore example to default

22 visualizzazioni (ultimi 30 giorni)
Roger Kaplan
Roger Kaplan il 26 Lug 2024
Commentato: nirlan neckir il 3 Gen 2025
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 Commento
Torsten
Torsten il 26 Lug 2024
Can't you reinstall the Simulink examples folder ? If not, I'd reinstall complete MATLAB.

Accedi per commentare.

Risposte (1)

Shubham
Shubham il 5 Ago 2024
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
  8 Commenti
Roger Kaplan
Roger Kaplan il 9 Ago 2024
Thanks for your suggestions, but I already altered the conditions by reinstalling the toolbox. I'll try what you suggest next time.
nirlan neckir
nirlan neckir il 3 Gen 2025
Hi @Shubham, it worked, my examples were restored to default. Thank you.

Accedi per commentare.

Tag

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by