CSIM: csimmex.h File Reference

csimmex.h File Reference


Detailed Description

Declares all csimMex<command> functions.

#include <mex.h>
#include "globaldefinitions.h"

Go to the source code of this file.

Functions

  • int csimMexGet (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
  • int csimMexConnect (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
  • void csimMexCleanUp (void)
    When the CSIM MEX-file is cleared (e.g. at an exit from matlab) this function will be called.

Variables


Function Documentation

void csimMexCleanUp void   ) 
 

When the CSIM MEX-file is cleared (e.g. at an exit from matlab) this function will be called.

This function is registered as MEX exit function via mexAtExit(). Within this function one has to make sure that we "clean up" properly.

int csimMexConnect int  ,
mxArray *  [],
int  nrhs,
const mxArray *  prhs[]
 

Connect parts of the network.

int csimMexGet int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[]
 

Returns either all network parameters, the values of a global variable, values of an object, connections or parameter lists.


 
(C) 2003, Thomas Natschläger last modified 07/10/2006