terminal_size
Query the size of the terminal window.
📝Syntax
[r, c] = terminal_size()
📤Output Arguments
Parameter Description
[r, c] a vector: rows and columns
📄Description

terminal_size() returns a vector with size of the terminal window in characters (rows and columns).

💡Examples
terminal_size()
🔗See Also
disp
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub