can we run a matlab file without saving it?

19 ビュー (過去 30 日間)
Saurav Karanwal
Saurav Karanwal 2016 年 10 月 25 日
回答済み: Kumar 2023 年 1 月 29 日
this question will help you to know about saving a matlab file.
  1 件のコメント
KSSV
KSSV 2016 年 10 月 25 日
Yes you can....but when you run it is automatically saved...

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

採用された回答

Shubham Maurya
Shubham Maurya 2016 年 10 月 25 日
Actually by default, the Matlab asks for saving the file or script with a name followed by .m extension. So, I don't think its possible to run the file without saving it.

その他の回答 (3 件)

Raúl GB
Raúl GB 2016 年 10 月 25 日
You can evaluate the current section (ctr+enter) or the current selection (F9), it will run the script or part of the script without saving it. Please note that you cannot evaluate a function unless you specify an input for it.

Image Analyst
Image Analyst 2016 年 10 月 25 日
Type control-a (to select everything), then type F9.

Kumar
Kumar 2023 年 1 月 29 日
Yes, you can run a MATLAB file without saving it through the "Run Section"

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by