setvars

Purpose

Reads the variable names from a dataset header and creates global matrices with the same names.

Format

nvec = setvars(dataset)
Parameters:

dataset (string) – the name of the GAUSS dataset. Do not use a file extension.

Returns:

nvec (Nx1 character vector) – containing the variable names defined in the dataset.

Examples

nvec = setvars("freq");

Remarks

setvars() is designed to be used interactively.

Source

vars.src

See also

Functions makevars()