Deleted surf script on system

1 回表示 (過去 30 日間)
Rahib Muradov
Rahib Muradov 2019 年 8 月 11 日
コメント済み: Rahib Muradov 2019 年 8 月 11 日
Hi Community
I accidentally delete surf (Attempt to execute SCRIPT surf as a function: E:\p\MATLAB\toolbox\matlab\graph3d\surf.m) and saved, now it is an empty .m file on the path. Can you please tell me how to bring it back or where to download just surf.m script?
Looking forward to your help
Many thanks in advance

回答 (2 件)

John D'Errico
John D'Errico 2019 年 8 月 11 日
編集済み: John D'Errico 2019 年 8 月 11 日
Sorry, but we cannot send you a copy of code.
However, you can just download a new copy of MATLAB. Go to the support page.
Next time, don't write scripts with the same name as existing functionality. Don't delete existing code. Essentially, be more careful in what you are doing. Look, BEFORE YOU LEAP. Otherwise, you will be re-installing MATLAB more often.

Steven Lord
Steven Lord 2019 年 8 月 11 日
Check the Windows recycle bin. If the file is still there, right-click on it and select Restore.
If not, reinstall MATLAB as John D'Errico suggested or perhaps contact Technical Support using the telephone icon in the upper-right corner of this page and ask them to send you the surf.m from the release you're using.
  1 件のコメント
Rahib Muradov
Rahib Muradov 2019 年 8 月 11 日
Hi Stewen.
Thank you for your response. I have not deleted the file itself, only deleted the content and clicked save as I thought that it is my own script. I sorted out already. Thank you for all :)

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

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by