<< format | Display format |
str = formattedDisplayText(V) |
str = formattedDisplayText(V, Name, Value) |
Variable to return as string
Name-Value Pair Arguments, Name: 'NumericFormat' or 'LineSpacing'.
a string
str = formattedDisplayText(V) returns the display output of V as a string.
The string contains equivalent to disp(V).
R = eye(3, 3)
str = formattedDisplayText(R)
R = rand(3, 3);
disp(R)
str = formattedDisplayText(R)
str = formattedDisplayText(R, 'NumericFormat', 'bank', 'LineSpacing', 'compact')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET