File Exchange

image thumbnail

dirup

version 1.0 (1.32 KB) by

Get the relative path string to go up a number of levels in the directory structure.

0 Downloads

Updated

View License

This is a very simple function to obtain the relative path string to go up a number of levels in the directory structure, starting from the current working directory.

As the filesep() function is used to generate the (relative) path string, this function works equally well on Unix-based and Windows machines.

Comments and Ratings (0)

MATLAB Release
MATLAB 8.0 (R2012b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video