|
TransferData
|
Accueil Précédent Suivant |
C/C++ declaration
long __stdcall TransferData(long Handle, double* Target, int LineLength, int MaxData, int IsExternal, TCallBackFct* ACallBack);
Pascal declaration
function TransferData(Handle: LongInt; Target: PArrayOfReal; LineLength, MaxData, IsExternal: Integer; ACallBack: TCallBackFct): LongInt; stdCall;
Model data transfer.
IN → Handle : Model handle.
IN/OUT → Target : Output double table.
IN → LineLength : Output table line length
IN → MaxData : Output table column length.
IN → IsExternal :External data ?
0: inputs are coming frim training data registered in the model
1: inputs data are read in Target.
Return → 0 if OK
< 0 Invalid handle
> 0 Transfer computation error.
Returned values in an output line are, in the order :
Inputs
Target outputs
Computed outputs
Compted state variables
Leverages.
Line number is limited to training data number. If MaxData is negative and IsExternal is 0, then the line number is the number of training data.
Remark : Sizes must be verified with GetInfo.