I'm using matlab 2014a and I need to copy the directory of the files, can you tell me how can i made? thanks

Edit: I think that you didn't understand my problem, matlab is a simulation program, not a file manager, and the scripts are in X folder, now i can copy the directory by terminal, but i just trying to copy the route.

let me reformulate the question, where can i make Crtl-X or Ctrl-C to copy the directory path?

PD: Please be patient, i'm new in ubuntu

  • 1
    Is file manager(nautilus) is not enough to copy your directory with all files?
    – g_p
    Sep 23, 2014 at 12:20
  • I think the question here is more about where are the files than how to copy them
    – Kiwy
    Sep 23, 2014 at 12:22

1 Answer 1


From your edited question, I guess you want to copy the path of the desired directory

To achieve this, you could cd to that directory, then use pwd command to Print Working Directory.

Or assign the output to a variable directly, e.g. CurrentDIR = pwd as described in the following link.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .