can we run a matlab file without saving it?
Show older comments
this question will help you to know about saving a matlab file.
1 Comment
KSSV
on 25 Oct 2016
Yes you can....but when you run it is automatically saved...
Accepted Answer
More Answers (3)
Raúl GB
on 25 Oct 2016
2 votes
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
on 25 Oct 2016
2 votes
Type control-a (to select everything), then type F9.
Kumar
on 29 Jan 2023
0 votes
Yes, you can run a MATLAB file without saving it through the "Run Section"
Categories
Find more on File Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!