setstruc

Set matrix structure for idss model objects

    Note:   setstruc will be removed in a future release. Use setpvec and the Structure property of idss objects instead.

Syntax

setstruc(M,As,Bs,Cs,Ds.Ks,X0s)
setstruc(M,Mods)

Description

setstruc(M,As,Bs,Cs,Ds.Ks,X0s)

setstruc(M,Mods)

setstruc(M,As,Bs,Cs,Ds.Ks,X0s) is the same as set(M,'As',As,'Bs',Bs,'Cs',Cs,'Ds',Ds,'Ks',Ks,'X0s',X0s) .

Use empty matrices for structure matrices that should not be changed. You can omit trailing arguments.

In the alternative syntax, Mods is a structure with field names As, Bs, etc., with the corresponding values of the fields.

See Also

Was this topic helpful?