isParametric

Determine if model has tunable parameters

Syntax

bool = isParametric(M)

Description

bool = isParametric(M) returns a logical value of 1 (true) if the model M contains parametric (tunable) Control Design Blocks. The function returns a logical value of 0 (false) otherwise.

Input Arguments

M

A Dynamic System model or Static model, or an array of such models.

Output Arguments

bool

Logical value indicating whether M contains tunable parameters.

bool = 1 (true) if the model M contains parametric (tunable) Control Design Blocks such as realp or tunableSS. If M does not contain parametric Control Design Blocks, bool = 0 (false).

Introduced in R2011a