Main Content

delete_param

Delete system parameter added with add_param function

Description

example

delete_param(sys,param1,...,paramN) deletes parameters that were added to the system using the add_param function. If a specified parameter was not added with the add_param function, you receive an error.

Examples

collapse all

Add parameters to a system, then delete one of the parameters from the system.

Load the vdp system.

load_system('vdp')

Add the DemoName and EquationOrder parameters to the vdp system.

add_param('vdp','DemoName','VanDerPolEquation','EquationOrder','2')

Delete the DemoName parameter from the vdp system.

delete_param('vdp','DemoName')

Input Arguments

collapse all

System name, specified as a character vector or string scalar.

Data Types: char | string

One or more parameters to delete from system, each specified as a character vector or string scalar.

Data Types: char | string

Version History

Introduced before R2006a

See Also