Hi, is there a native function or a simple code to check if a user-typed filename is valid for saving a file? (In that it doesn't contain illegal characters like /\":?<>|, etc.)
MATLAB: Check if filename is valid.
filenamefunctionillegallive scriptsave
Related Question
- Autorename if saved file already exist
- How to allow a user to define the file name and directory when saving a Microsoft Word file
- Insert a string into code
- When I run the following code it only shows the last file in the directory in MATLAB workspace? How to get all the files in the directory saved in the workspace
- Save file with different extension
- Dlmread filename not a character vector
Best Answer