Name

ScilabHaveAGraph — Check if any Scilab graphics have been opened.

Synopsis

int ScilabHaveAGraph(void);

Description

Returns if there is any Scilab graphics opened.

Examples

 
// A simple ScilabHaveAGraph example
int code=SendScilabJob("plot3d()"); /* This will failed since plot3d is
                                       among the disable features*/
if (ScilabHaveAGraph()){
 printf("Graphics\n");
}else{
 printf("NO Graphics\n");
}
 

See Also

Call_Scilab,api Scilab,Compile and run with call_scilab SendScilabJob, TerminateScilab, Double Management, Boolean Management, Complex Management, String Management

Authors

Sylvestre Ledru