Skip to content

Instantly share code, notes, and snippets.

@hmaarrfk
Created May 18, 2016 21:08
Show Gist options
  • Save hmaarrfk/17aee2b915afc519098dd22cf6c01af4 to your computer and use it in GitHub Desktop.
Save hmaarrfk/17aee2b915afc519098dd22cf6c01af4 to your computer and use it in GitHub Desktop.
Copy working directory to clipboard for Matlab
% Mark Harfouche
% Copyright 2016
% New BSD License
function d = pwdcopy()
d = pwd();
clipboard('copy', d);
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment