function s = suffix(p) [~, n, s] = fileparts(p); if stdlib.strempty(n) s = n; end end
Published with MATLAB® R2025a