fileparts (Matlab function) Return filename parts

## Matlab/Scilab equivalent

Matlab | Scilab
    path = 'C:\users\john\scilab.work.txt';
    [p, n, e] = fileparts(path)
    p = fileparts(path)         % => 'C:\users\john'
    % No equivalent
    % No equivalent
    path = "C:\users\john\scilab.work.txt";
    [p, n, e] = fileparts(path)
    p = fileparts(path)              // => "C:\users\john\"
    n = fileparts(path, "fname")     // => "scilab.work"
    e = fileparts(path, "extension") // => ".txt"

## Particular cases

The Scilab function provides the path with a trailing separator.