You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Some functions (e.g. compose, sprintf, fprintf) use the backward slash ('\') as escape character; therefore, any format specifier containing a backward slash result into error (Warning: Escaped character '\%' is not valid.). This function simply change any backward to forward slash, coping with the issue.
e.g. sprintf(slashes_fix(formatSpec),txt)
Cite As
Valerio Rubino (2026). Slashes Fix (https://www.mathworks.com/matlabcentral/fileexchange/90471-slashes-fix), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.12 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
