Main Content

delete_param

Delete model parameter added with add_param function

Description

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

example

Examples

collapse all

Open the example. Then, load the vdp model.

load_system('vdp')

Add the DemoName and EquationOrder parameters to the vdp model.

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

Delete the DemoName parameter from the vdp model.

delete_param('vdp','DemoName')

Input Arguments

collapse all

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

Data Types: char | string

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

Data Types: char | string

Version History

Introduced before R2006a

See Also