image thumbnail

TABD

version 1.0.0.0 (2.73 KB) by Gaetan Koers
A function to create tables rows in text.

708 Downloads

Updated 05 Dec 2005

No License

TABD(X) is equivalent to DISP(X)

TABD(C, TABS) prints out the strings or scalars in the cell array C,left aligned to the tabs given in increasing order in TABS, in character units. The number of tabs should equal the number of elements in C.

TABD(C, TABS, ALIG) aligns the column data to the tabs according to the alignment method given by the string ALIG. ALIG should contain 1 or as many as tabs of the characters 'l', 'r', 'c' which stand for left, right or center alignment, respectively.

Strings or string conversions in C which are longer than the spacing to neighbouring tabs are truncated to fit the tab distance. When strings overlap neighbouring strings (e.g. the strings at a left aligned tab coming before a right aligned tab), strings that come later in the order of C overwrite strings that come before.

Cite As

Gaetan Koers (2021). TABD (https://www.mathworks.com/matlabcentral/fileexchange/9235-tabd), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!