Join fileparts

versión 1.0.0 (1.12 KB) por Valerio Rubino
Joins into char vectors file parts, using / as delimiter.

1 descarga

Actualizada 14 Apr 2021

Ver licencia

When using fullfile() on Windows, it outputs the path of a file with the backslash (\) as delimiter. If the output is then passed as a format specifier to a function like sprintf (or compose), it runs into error, e.g. sprintf(fullfile('folder', '%d'), nr), because it interprets the blackslash as an escape character.
This function deals with the issue by adjoining file parts using the forward slash (/) as delimiter.

Citar como

Valerio Rubino (2022). Join fileparts (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2021a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!