can we run a matlab file without saving it?

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 日

0 投票

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 日

2 投票

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 日

2 投票

Type control-a (to select everything), then type F9.
Kumar
Kumar 2023 年 1 月 29 日

0 投票

Yes, you can run a MATLAB file without saving it through the "Run Section"

カテゴリ

ヘルプ センター および File ExchangeWorkspace Variables and MAT Files についてさらに検索

質問済み:

2016 年 10 月 25 日

回答済み:

2023 年 1 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by