CheckLength — C interface function which checks the length of a vector send as a parameter to the C function
CheckLength(StackPos,m_var,m_required)
the position in the Scilab memory of the parameter for which we want to check (input parameter)
the number of lines of the parameter at position StackPos in the Scilab memory (input parameter)
the required number of lines (input parameter)
C interface function which checks the length of a vector send as a parameter to the C function. You must include stack-c.h to benefit from this function. If the test fails, we return from the C interface and an adequate error message is printed in the Scilab console.
WARNING: This API is deprecated from Scilab 5.2.0 and is going to be removed with Scilab 6.0. Please use API Scilab (the new Scilab API).