Main Content

mpcverbosity

Change toolbox verbosity level

Description

example

mpcverbosity on enables messages displaying default operations taken by Model Predictive Control Toolbox™ software during the creation and manipulation of model predictive control objects.

By default, messages are turned on.

example

mpcverbosity off turns messages off.

old_status = mpcverbosity(new_status) sets the verbosity level to the specified value, new_status. The function returns the original value of the verbosity level as old_status. Specify new_status as either 'on' or 'off' .

example

mpcverbosity shows the verbosity status.

Examples

collapse all

Turn verbosity off and suppress output argument.

mpcverbosity off;

Turn verbosity on and save the old status in the workspace variable old

old = mpcverbosity on;

Show MPC verbosity and suppress output argument.

mpcverbosity;
MPC verbosity is off

Input Arguments

collapse all

Char array, being either 'on' or 'off' .

Example: 'off'

Output Arguments

collapse all

Char array, being either 'on' or 'off' .

Example: 'off'

See Also

Introduced before R2006a