GetFullPath
- Downloads:
- Views:
- Rating:

GetFullPath - Get absolute path of a file or folder name
This function converts a partial or relative name to an absolute full path name. The fast Mex works on Windows only (sorry), but the M-file runs on Windows, MacOS and Unix.
FullName = GetFullPath(Name)
INPUT:
Name: String or cell string, file or folder name with relative or absolute path.
OUTPUT:
FullName: String or cell string, file or folder name with absolute path.
The created path need not exist.
EXAMPLES:
cd(tempdir); % Assuming C:Temp here
GetFullPath('File.Ext') % ==> 'C:TempFile.Ext'
GetFullPath('..File.Ext') % ==> 'C:File.Ext'
GetFullPath('....File.Ext') % ==> 'C:File.Ext'
GetFullPath('.File.Ext') % ==> 'C:TempFile.Ext'
GetFullPath('*.txt') % ==> 'C:Temp*.txt'
GetFullPath('D:Folder1..Folder2') % ==> 'D:Folder2'
GetFullPath('..') % ==> 'C:'
GetFullPath('') % ==> 'C:', current drive!
GetFullPath('Folder') % ==> 'C:TempFolder'
GetFullPath('ServerFolderSub..File.ext')
% ==> 'ServerFolderFile.ext'
See also (timings converted with GetFullPath):
WHICH: only for existing files, ~24 times slower.
System.IO.FileInfo: .NET (thanks Urs), more features, ~50 times slower.
java.io.File: "/.." and "/." are fixed by getCanonicalPath (~6 times slower),
but no completing of partial/relative path.
Tested: Matlab 6.5, 2008a, 2009a, 2001b, WinXP/32, Win7/64
Compiler: LCC 2.4/3.8, OpenWatcom 1.8, BCC 5.5, MSVC 2008/2010
Precompiled Mex: http://www.n-simon.de
Suggestions and question by email or in the comment section are very welcome - especially a test under Linux and MacOS.
Free download from Shareware Connection - GetFullPath - Get absolute path of a file or folder name
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 12-05-2013 | Rating: 0 | Title: GetFullPath
Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/28249/7/GetFullPath_03Nov2011.zip
ScaleTime - ScaleTime - fast linear matrix interpolation
DNorm2 - Fast euclidian norm over N.th dimension of a DOUBLE array
DateStr2Num - DATESTR2NUM - Fast conversion of DATESTR to DATENUM
FilterM - FilterM, FiltFiltM: Fast digital filter
strncmpr - Compare last N chars of strings or cell strings
MATLAB Support Package for Arduino (aka ArduinoIO Package)
SimpleTest
WordPress Auto Poster Plugin
Professional Simulink Audio Equalizer
PHP Print / Echo
Ends Smart Form
Output buffering, and how it can change your life
ScriptCase - PHP Code Generator
Advanced Istaller for Java
Wind Turbine Model
C to C++ Converter
C++ Compiler
Cumulative Mann-Kendall trend test
FORMfields - The PHP Framework
debugfigure - {Note from Editor: This bug has been fixed in MATLAB 6.1}
Another Matrix Library in C++ - AML++ is a matrix library which mimics most Matlab/Octave features and functions. It offers many different matrix classes (both real and complex including generic dense and sparse matrices, upper/lower triangular, symmetric, Hermitian and band).
Color Game - A fun and simple fingerpainting applications. It is built for small children's entertainment.1.3*Bug fixes*Added about screen as well as User Voice support for customer feed back.Version 1.2: fixed bugs, added diagnostics features
Bible Reader - Designed to load and navigate quickly, Bible Reader will help you in your walk as you learn God's word.v1.5 - ready for Mango! Also, the search functionality had some bugs that were fixed.Some of the features that you'll find :- Two free...
Block Legend - Block Legend is a retro puzzle JRPG. Travel through different regions as a wide cast of characters, fighting monsters, visiting towns, and completing quests. KEY FEATURES-- • Fun puzzle tile-breaking gameplay. • Huge selection of ...
Shareware Connection periodically updates pricing and software information of 'GetFullPath' from company source 'Jan Simon' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using 'GetFullPath' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of GetFullPath.
Edius Pro - In the last few years, NLE video editor segment has become somewhat populated than earlier, with big names like Sony vying for attention with established behemoths like Adobe. However, Adobe’s move to subscription only model has deterred ...
Auslogics BitReplica - With storage capacity and options going up with time, PC users have got numerous options to back up their important data, whether you need to store your music, movie collection or other types of data safely, using the PC’s HDD may not be ...
Apple iMovie - For higher end video editing and post production related needs on Mac OS, the preferred choice is FCP in most instances. However, not all Mac users need to deal with a feature laden, sophisticated editor for casual needs. For casual to moderate ...
CCleaner Network Edition - Keeping computers clean of redundant and junk data is a prerequisite and these are various methods to do that. Apart from integrated utilities that come with Windows, you can also use third party utilities to keep PC clean of junk files and ...
McAfee SiteAdvisor Live - Nowadays, PC users look for more than a standalone antivirus software to boost their PC protection level. If you feel concerned about online safety and need a more secure browsing experience, it is prudent that you use an add-on security tool ...
PhotoRescue PC EN - When you deal with computers and data, recovering deleted or lost data may become a necessity sometimes. The same thing can happen with digital images. When that happens, you need to use third party image recovery software. One such example is ...
Simpo PDF Creator Pro - Millions of PC users resort to using PDF format for exchanging and sharing documents for a number of needs. PDF is cross platform compatible, print friendly and can contain various objects like text, image and fields. While a majority of people ...
SyncBack SE - For any computer users, the importance of backup is immense. Even if you use a powerful computer with latest storage technology, taking backup of data is near mandatory. However, a number of users find the task of choosing the right backup ...
Norton Zone - With a lot of your data being stored in some cloud service or other, it becomes necessary after a point to zero in on any one service rather than using many at the same time. As it is, major software companies are resorting to cloud based service ...
Reallusion iClone - Nowadays, there is no scarcity of 3D animation and modeling software in market. However, not all such apps are user friendly and easy on wallet. If you want an intuitive and capable tool for making 3D animations without requiring much time, give ...

