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

1 visualización (últimos 30 días)
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

Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 27 de Feb. de 2013
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.

Más respuestas (1)

Vincent Geraudie
Vincent Geraudie el 28 de Feb. de 2013
OK, thank you Shashank.

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by