can we run a matlab file without saving it?
17 次查看(过去 30 天)
显示 更早的评论
this question will help you to know about saving a matlab file.
采纳的回答
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.
0 个评论
更多回答(3 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!