필터 지우기
필터 지우기

can we run a matlab file without saving it?

조회 수: 11 (최근 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 CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by