Mercurial > hg > ishara
view general/fileutils/removeext.m @ 58:ba866ae124c6
Now accepts single color index for all points.
author | samer |
---|---|
date | Fri, 09 Oct 2015 13:01:37 +0100 |
parents | e44f49929e56 |
children |
line wrap: on
line source
% removeext - remove extension from a file name % % removeext :: string -> string. function nm=removeext(path) dot=max(strfind(path,'.')); if isempty(dot), nm=path; else nm=path(1:(dot-1)); end