Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
Create a scalar complex double in Scilab memory.
int createScalarComplexDouble(void* _pvCtx, int _iVar, double _dblReal, double _dblImg)
Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h.
Position in the Scilab memory where you want to put the variable.
Real part value.
imaginary part value.
if successful 0, otherwise print error(s) message(s) in the Scilab console and returns first error number.