The empty constructor creates an empty statespace model
s = ssm()
Models can be built out of built-in models (mfiles stored in a folder), out of a description with a plist, from a repository or a xml file, but also out of a pzmodel, a rational or a miir model. Conversion out of a parfrac object is not implemented yet.
s = ssm(<pzmodel>)
s = ssm(<miir>)
s = ssm(<rational>)
This creates a new statespace model by loading the object from disk, either out of an xml file or a .mat file. The latter is not recommended as Matlab data format poses some new retro-compatibility issues at each new release.
s = ssm('a1.xml')
s = ssm('a1.mat')
For internal use (see built-in models), a structure constructor is available. This is constructor should not be used – except inside a built-in model – as it does not increment history, making it impossible to rebuild the object.
s = ssm(<struct>)
There are dedicated help pages on how to build a model out of a built-in object or a plist description.
sys = ssm(plist('built-in', '<model name>'))
sys = ssm(plist('amats', <a matrices> ... ))
|Introduction to Statespace Models with LTPDA||Building from scratch|