Download LINDO API USER MANUAL

Transcript
mxLINDO A MATLAB INTERFACE
nStatus
467
An integer error code. If successful, nStatus will be 0 on return.
A list of possible error codes may be found in Appendix A.
LSgetEnvIntParameter()
Description:
Gets or retrieves an integer parameter for a specified environment.
MATLAB Prototype:
>>[nVal, nStatus] = mxlindo('LSgetEnvIntParameter', iEnv, nParameter)
RHS Arguments:
Name
Description
iEnv
An integer referring to an instance of LSenv.
nParameter
An integer referring to an integer parameter.
LHS Arguments:
Name
Description
nVal
An integer variable. On return, nVal will contain the
parameter’s value.
nStatus
An integer error code. If successful, nStatus will be 0 on return.
A list of possible error codes may be found in Appendix A.
LSgetModelParameter()
Description:
Retrieves a parameter or status variable for a specified model.
MATLAB Prototype:
>> [dValue, nStatus] = mxlindo('LSgetModelParameter', iModel,
nParameter)
RHS Arguments:
Name
Description
iModel
An integer referring to an instance of LSmodel.
nParameter
An integer macro.
LHS Arguments:
Name
Description
dValue
On return, dValue will contain the parameter’s value. The user
is responsible for allocating sufficient memory to store the
parameter value.
nStatus
An integer error code. If successful, nStatus will be 0 on return.
A list of possible error codes may be found in Appendix A.