[D,IsDev] = sstatedb(M,Range)
[D,IsDev] = sstatedb(M,Range,NCol)
M [ model ] - Model object for which the sstate database will be created.
Range [ numeric ] - Intended simulation range; the steady-state or balanced-growth-path database will be created on a range that also automatically includes all the necessary lags.
NCol [ numeric ] - Number of columns for each variable; the input argument NCol can be only used with single-parameterisation models.
D [ struct ] - Database with a steady-state or balanced-growth path tseries object for each model variable, and a scalar or vector of the currently assigned values for each model parameter.
IsDev [ false ] - The second output argument is always false, and can be used to set the option 'deviation=' in model/simulate.