matthiasm@8: function s = safeStr(s) matthiasm@8: % Change punctuation characters to they print properly matthiasm@8: matthiasm@8: s = strrep(s, '\', '/'); matthiasm@8: s = strrep(s, '_', '-');