How can I tell / export / copy the current M file being run to a directory. I know about the copy command I'm just not sure how to get the current M file that is being run.
The reason for this is that I try out the same M files with different edits that create various output files. And I would like to keep the M file changes with the exported files it creates together.
Thanks
PS: I'm using octave 3.8.1 which is like matlab