Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBgetenv
GRBenv * | GRBgetenv ( | GRBmodel | *model ) |
Retrieve the environment associated with a model.
Note that this environment is a model environment, not the original environment on which the model was created. See Algorithmic parameters for more information.
Return value:
The environment associated with the model. A NULL return value indicates that there was a problem retrieving the environment.
Arguments:
model: The model from which the environment should be retrieved.
Example usage:
GRBenv *env = GRBgetenv(model);