Code covered by the BSD License  

Highlights from
dirup

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 1.32 KB File ID: #41674

dirup

by

 

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

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us