diff options
Diffstat (limited to 'sourcecodes/bnt-master/KPMtools/safeStr.m')
| -rw-r--r-- | sourcecodes/bnt-master/KPMtools/safeStr.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/KPMtools/safeStr.m b/sourcecodes/bnt-master/KPMtools/safeStr.m new file mode 100644 index 00000000..f775a2a9 --- /dev/null +++ b/sourcecodes/bnt-master/KPMtools/safeStr.m @@ -0,0 +1,5 @@ +function s = safeStr(s) +% Change punctuation characters to they print properly + +s = strrep(s, '\', '/'); +s = strrep(s, '_', '-'); |
