Open (but no run) a *.m file via drag and drop - R2012b

조회 수: 1 (최근 30일)
Vincent Geraudie
Vincent Geraudie 2013년 2월 27일
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

채택된 답변

Shashank Prasanna
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.

추가 답변 (1개)

Vincent Geraudie
Vincent Geraudie 2013년 2월 28일
OK, thank you Shashank.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by