IRIS Toolbox Reference Manual

## irisget

Query current IRIS config options

#### Syntax

    Value = irisget(Option)
    S = irisget()

#### Input arguments

- `Option` [ char ] - Name of the queried IRIS configuration option.

#### Output arguments

- `Value` [ ... ] - Current value of the queried configuration option.

- `S` [ struct ] - Structure with all configuration options and their current values.

#### Description

You can view any of the modifiable options listed in `irisset`, plus the following non-modifiable ones (these cannot be changed by the user):

- `'userConfigPath='` [ char ] - The path to the user configuration file called by the last executed `irisstartup`.

- `'irisRoot='` [ char ] - The current IRIS root directory.

- `'version='` [ char ] - The current IRIS version string.

When called without any input arguments, the `irisget` function returns a struct with all options and their current values.

#### Example

    irisget('dateformat')

    ans =

    YFP

    g = irisget();
    g.dateformat

    ans =

    YFP

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.