You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Function determines whether the string str consists only of blank characters. For strings of blank characters function returns logical 1. For empty strings function returns logical 0. For non-character arguments function returns a type mismatch error.
Examples:
>> isblank(' ')
ans =
1
>> isblank(' foo ')
ans =
0
Cite As
janez (2026). isblank.m (https://www.mathworks.com/matlabcentral/fileexchange/28659-isblank-m), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (1.15 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
