Scilab 5.5.0
- Справка Scilab
- API Scilab
- Low level functions
- AssignOutputVariable
- CallOverloadFunction
- CheckInputArgument
- CheckOutputArgument
- ReturnArguments
- Boolean reading (Scilab gateway)
- Boolean writing (Scilab gateway)
- Boolean sparse reading (Scilab gateway)
- Boolean sparse writing (Scilab gateway)
- Check variable dimensions (Scilab gateway)
- Variable Reference (Scilab gateway)
- Variable dimension (Scilab gateway)
- Variable Type (Scilab gateway)
- Variable Complexity (Scilab gateway)
- Matrix Type (Scilab gateway)
- deleteNamedVariable
- Double reading (Scilab gateway)
- Double writing (Scilab gateway)
- getNbInputArgument (Scilab gateway)
- getNbOutputArgument (Scilab gateway)
- Handle reading (Scilab gateway)
- Handle writing (Scilab gateway)
- Integer Precision (Scilab gateway)
- Integer reading (Scilab gateway)
- Integer writing (Scilab gateway)
- nbInputArgument (Scilab gateway)
- Pointer reading (Scilab gateway)
- Pointer writing (Scilab gateway)
- Polynomial Symbolic Variable (Scilab gateway)
- Polynomial reading (Scilab gateway)
- Polynomial writing (Scilab gateway)
- Sparse matrix reading (Scilab gateway)
- Sparse writing (Scilab gateway)
- String reading (Scilab gateway)
- String writing (Scilab gateway)
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
CallOverloadFunction
a C gateway function uses to call overload function or macro
Calling Sequence
CallOverloadFunction(_iVar)
Arguments
- iVar
Specifies which input argument will be used to create the name of overload function/macro
Description
a C gateway function uses to call overload function or macro
Examples
This example returns the size:
returns the size of input argument
if input argument is a string returns the length
Gateway Source
int callOverload(char *fname,unsigned long fname_len) { CheckRhs(1, 1); CheckLhs(0, 1); CallOverloadFunction(1); return 0; }
Scilab test script
function x=%c_getSize(a) x = lenght(a); endfunction function x=%s_getSize(a) x = size(a); endfunction a = [1,2,3,4]; a_ref = [2,2]; assert_checkequal(getSize(a) == a_ref); b = ["May","the","puffin";"be","with","you"]; b_ref = [3,3,6;2,4,3]; assert_checkequal(getSize(b) == b_ref);
Report an issue | ||
<< AssignOutputVariable | Low level functions | CheckInputArgument >> |