cns_getdflts

Fills in any default values for fields not explicitly given values in a model structure.

Note: internally, cns('init') does this automatically, so you do not need to explicitly call this function yourself. It is provided in the event you want to write MATLAB code that accesses these values -- or if you just want to inspect them.

Syntax

m = cns_getdflts(m)
m = cns_getdflts(m, n)
m
A model structure.

n
Indicates what part of the model structure to fill in defaults for.