IRIS Toolbox Reference Manual

## autoexogenise

Get or set variable/shock pairs for use in autoexogenised simulation plans

#### Syntax fo getting autoexogenised variable/shock pairs

    A = autoexogenise(M)

#### Syntax fo setting autoexogenised variable/shock pairs

    M = autoexogenise(M,A)

#### Input arguments

- `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`.

#### Output arguments

- `M` [ model ] - Model object with updated definitions of autoexogenised variable/shock pairs.

#### Description

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.

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.