formattedDisplayText

Capture display output as string.

📝 Syntax

  • str = formattedDisplayText(V)

  • str = formattedDisplayText(V, Name, Value)

📥 Input argument

  • V - Variable to return as string

  • Name, Value - Name-Value Pair Arguments, Name: 'NumericFormat' or 'LineSpacing'.

📤 Output argument

  • str - a string

📄 Description

str = formattedDisplayText(V) returns the display output ofV as a string.

The string contains equivalent to disp(V).

💡 Example

🔗 See also

display, disp, format.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?