updateInitialState updates the given model's initial state from the current state.

updateInitialState(model = getCurrentModel())

Arguments

model

a model object

See also