FOSSEE Scilab Octave Toolbox
This is a scilab toolbox to call octave functions. It requires octave to be installed on the system.
fun.h File Reference

Go to the source code of this file.

Classes

struct  FUNCSTRUCT
 Struct used to pass structs to Octave from the fun library. More...
 
struct  FUNCARGS
 Struct used to send/receive Scilab data to/from the gateway to fun.cpp API. More...
 
struct  FUNCCALL
 Struct used to call and pass the data to fun.cpp API. More...
 

Macros

#define fun_h__
 

Enumerations

enum  FUNCTYPE {
  TYPE_DOUBLE , TYPE_COMPLEX , TYPE_STRING , TYPE_STRUCT ,
  TYPE_DOUBLE , TYPE_COMPLEX , TYPE_STRING , TYPE_STRUCT
}
 Enumeration for the data types suported. More...
 

Functions

int fun (FUNCARGS *arr, FUNCCALL *call)
 API Function to call/receive and pass the data to fun API
More...
 

Macro Definition Documentation

◆ fun_h__

#define fun_h__

Enumeration Type Documentation

◆ FUNCTYPE

enum FUNCTYPE

Enumeration for the data types suported.

Enumerator
TYPE_DOUBLE 

similar to scilab double

TYPE_COMPLEX 

similar to scilab complex

TYPE_STRING 

similar to scilab string

TYPE_STRUCT 

similar to scilab struct

TYPE_DOUBLE 
TYPE_COMPLEX 
TYPE_STRING 
TYPE_STRUCT 

Function Documentation

◆ fun()

int fun ( FUNCARGS inp,
FUNCCALL funcall 
)

API Function to call/receive and pass the data to fun API

Parameters
arrInput data FUNCARGS
callInput Arguments FUNCCALL
Returns
int Status Code

API Function to call/receive and pass the data to fun API

This Function will be communicating with Octave to access it's function.