
Function f = ensure_ending_with_slash(f) returns the path(s) to which the possibly missing unix file separator '/' is appended. Input argument f may be a character vector or a cell-array of character vectors. The type of the input is retained in the output. (c) 2026 fabien van mook 2026.08.20 release of this file within package "fvm-miscellaneous" under GNU GPLv3+