function s = suffix(path) arguments path string end [~, ~, s] = fileparts(path); end
Published with MATLAB® R2024b