A = autoexogenise(M)
M = autoexogenise(M,A)
M [ model ] - Model object.
A [ struct | empty ] - Database with each field representing a variable/shock pair, A.Variable_Name = 'Shock_Name', that can be used in building simulation plans by the plan function autoexogenise.
M [ model ] - Model object with updated definitions of autoexogenised variable/shock pairs.Whenever you set the autoexogenised variable/shock pairs, the previously assigned pairs are removed, and replaced with the new ones in A. In other words, the new pairs are not added to the existing ones, the replace them.