How to restore built-in functions in toolbox to the original version

I'm doing some tests so I edit some codes in the built-in functions of phased array toolbox. Not sure if I changed anything by mistake, so I want to restore it to what it looked like at the beggining. Is there some way to do it?

Respuestas (1)

John D'Errico
John D'Errico el 12 de En. de 2023
Editada: John D'Errico el 12 de En. de 2023
NEVER EDIT MATHWORKS SUPPLIED FUNCTIONS.
A rule I use for my own code is, if you change it, you own it. Any future problems are yours.
Ok but now you want to restore it. If you have a backup of your drives, then just use the backup. No backup? WHY NOT?????? ALWAYS backup your files. All files.
I'd probably just be lazy and download the newest release of MATLAB, because I tend to be slow and always be a release behind anyway. But I think you can re-download just a specific toolbox in your license. Easier just to do the whole thing, as the download is fast. And that insures EVERYTHING will be properly recovered.
But just make backups from now on.

Categorías

Más información sobre Downloads en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Preguntada:

el 12 de En. de 2023

Editada:

el 12 de En. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by