FUNCTION REFERENCE

fullfile

Build a file path.

Build a file path.

Syntax

p = fullfile(part1, part2, ...)

Joins 1 to 64 character parts with the platform's separator.

Example

fullfile('data', 'run1.csv')   % 'data/run1.csv' (data\run1.csv on Windows)

Differences from MATLAB: Drive or device prefixes are rejected after the first part.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.