XPRMrunmod
XPRMrunmod |
Purpose
Synopsis
int XPRMrunmod(XPRMmodel model, int *returned, const char *parlist);
Arguments
model
|
Reference to a model
|
returned
|
Pointer to an area where the result value is returned
|
parlist
|
String composed of model parameter initializations separated by commas, may be
NULL
|
Return value
XPRM_RT_OK
|
|
XPRM_RT_ERROR
|
|
XPRM_RT_MATHERR
|
|
XPRM_RT_IOERR
|
|
XPRM_RT_NULL
|
A NULL reference error occurred
|
XPRM_RT_LICERR
|
Execution could not start because no license was available
|
XPRM_RT_STOP
|
|
XPRM_RT_BREAK
|
Interruption because of a breakpoint (see Section
Debugger interface)
|
Further information
This function executes the given model. The parameter
parlist may be used to initialize the model parameters of the model/program (
e.g.
"PAR1=12,PAR2='tutu'"). The special model parameter
workdir defines the initial working directory of the model. The parameter
returned receives the result of the execution (
e.g. parameter value of the ``exit'' procedure). The bit
XPRM_RT_STOP is set if the execution of the model has been interrupted by a call to the function
XPRMstoprunmod.
Related topics