ndi.file.pfilemirror
PFILEMIRROR Mirror a directory with m files into a directory with p files
B = PFILEMIRROR(M_PATH, P_PATH)
Recursively copy a directory with .m files into a directory of .p files.
M_PATH is a full path of a directory with .m files and subdirectories,
and P_PATH is the location where the mirrored .p files should be placed.
This function can be called with name-value pairs:
'CopyNonMFiles' (logical) Should non .m-files be copied? Default false.
'CopyHiddenFiles' (logical) Should hidden files (e.g. .git) be copied?
Default false.
'verbose' (logical) Print files as they are copied? Default true.
'dryRun' (logical) If true, display actions without executing them.
Default false.