DETAB replaces TAB characters with the appropriate number of SPACE characters from the contents of a file or a cell array (containing strings) such that the absolute position of text entries is preserved.
This is particularly useful for populating UICONTROLs (eg, listboxes) with the contents of files or strings that contain TABs
> help detab
for explanations and the accompanying image for an example
us (2022). detab: a pedestrian string detabulator (https://www.mathworks.com/matlabcentral/fileexchange/10536-detab-a-pedestrian-string-detabulator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!