itpp_sci  1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
Functions
scicoslab_if.c File Reference

More...

Functions

void sci_if_err_set (int e)
 
void sci_if_err_msg_set (const char *p_msg)
 
void sci_if_info_set (int i)
 
int scicoslab_create (char *fname)
 
int scicoslab_set (char *fname)
 C interface to sci_set. More...
 
int scicoslab_get (char *fname)
 C interface to sci_get. More...
 
int scicoslab_exec (char *fname)
 C interface to sci_exec. More...
 
int scicoslab_gen (char *fname)
 C interface to sci_gen. More...
 
int scicoslab_proc (char *fname)
 C interface to sci_proc. More...
 
int scicoslab_destroy (char *fname)
 C interface to scilab sci_destroy. More...
 

Detailed Description

Author
mk Data are on scilab local stack, functions are redirected by gateway
Code has to be pure C due to the problems with mex.h in C++

Function Documentation

void sci_if_err_msg_set ( const char *  p_msg)
void sci_if_err_set ( int  e)
void sci_if_info_set ( int  i)
int scicoslab_create ( char *  fname)
int scicoslab_destroy ( char *  fname)

C interface to scilab sci_destroy.

Example: sci_destroy(p_fir1); input SCI_FIR = type of SCI_TYPE object output void

int scicoslab_exec ( char *  fname)

C interface to sci_exec.

Example: sci_exec(p_fir1,SCI_RESET); input1 p_fir1 = pointer to the instance of SCI_TYPE object input2 SCI_RESET = type of command output NONE

int scicoslab_gen ( char *  fname)

C interface to sci_gen.

Example: y = sci_gen(p_mod,ce); input1 p_mod = pointer to the instance of SCI_TYPE object input2 ce = output y =

int scicoslab_get ( char *  fname)

C interface to sci_get.

Example: c0 = sci_get(p_fir1,SCI_TAPS); input1 p_fir1 = pointer to the instance of SCI_TYPE object input2 SCI_TAPS = type of data output c0 = vec

int scicoslab_proc ( char *  fname)

C interface to sci_proc.

Example: y = sci_proc(p_fir1,ce,x); input1 p_fir1 = pointer to the instance of SCI_TYPE object input2 ce input2 x output y

int scicoslab_set ( char *  fname)

C interface to sci_set.

Example: sci_set(p_fir1,SCI_TAPS,c0); input1 p_fir1= pointer to the instance SCI_TYPE object input2 SCI_TAPS = type of data input3 c0 = vec output NONE