fname = fn_fileext(fname,ext)
Set (or replace) extension of file name
Thomas Deneux
Copyright 2003-2017
Published with MATLAB® R2015a