Open (but no run) a *.m file via drag and drop - R2012b
1 次查看(过去 30 天)
显示 更早的评论
Hello
How to modify the action "run" in "open" when you make a drag and drop of a *.m file in the "Command Window" ?
Thanks
0 个评论
采纳的回答
Shashank Prasanna
2013-2-27
I am not sure there is a documented way of doing that. But if you already have the editor open and if you drag it into the editor it will always open (not run).
As a workaround always keep a file open when you close MATLAB this way editor is always open and you can drag MATLAB files into it directly instead of the command line.
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!