verbose
Sets the verbose level in the current session. If level is greater than 0, additional information is provided when the commands are executed. If no argument is provided, verbose returns the current setting.
Syntax
verbose(level)
verbose
R = verbose
Inputs
- level
- Any value greater than 0 will provide additional details when executing commands.
Outputs
- R
- scalar
Example
verbose(1);
pause(2)
% Additional output will be displayed as verbose is greater than 0
Execution is paused for 2 second(s)...
verbose
ans = 1
R = verbose
R = 1