Please I want help I have homework I made a mistake saving the file

2 ビュー (過去 30 日間)
Baha Alholi
Baha Alholi 2024 年 7 月 10 日
コメント済み: Sam Chak 2024 年 7 月 10 日
I am a beginner in matlab and there was a problem when saving the file and it was saved in mat format, but I need the code because I have homework I hope to help me as soon as possible and thank you

回答 (2 件)

Walter Roberson
Walter Roberson 2024 年 7 月 10 日
Sorry, the code is gone.
The one remaining hope is that an .asv might have been saved in the same directory as the file.

Sam Chak
Sam Chak 2024 年 7 月 10 日
I did a test and "accidentally" saved the code in mat-file format. If I attempt to open the file normally, it throws an error message.
But if I open the mat-file as text (another option in the "Open" button), I can recover the code. I attached the mat-file below for you to test. Hope it is not too late.
  1 件のコメント
Sam Chak
Sam Chak 2024 年 7 月 10 日
Also tested in MATLAB Online that I can open the mat-file as "Text" and recover the code.

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

カテゴリ

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

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by