JoinPath(Arg1, Arg2, varargin)

Version (3.5 KB) by Jan
Fixed FULLFILE for 2015b


Updated 18 Feb 2016

View License

JoinPath is a replacement of FULLFILE, which is faster and works correctly under Matlab 2015b for drive letters:
JoinPath('C:\', '\') % 'C:\'
fullfile('C:\', '\') % 'C:\\'

Cite As

Jan (2023). JoinPath(Arg1, Arg2, varargin) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on File Name Construction in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Typo fixed.