CSIM: MexNetwork Class Reference

MexNetwork Class Reference

#include <mexnetwork.h>

Inheritance diagram for MexNetwork:

Network List of all members.

Detailed Description

In addition to the class Network it provides specific methods for the Matlab MEX interface.

Public Member Functions

  • MexNetwork ()
    Constructor.
  • virtual ~MexNetwork ()
    Destructor.
  • virtual int addNewObject (Advancable *O)
    Add a new object to the network. Note that we do not check if it was already added before.
  • mxArray * getMexOutput (void)
    Returns the output as a cell array for use in matlab.
  • mxArray * exportNetwork (void)
    Returns an mxArray which holds the parameters and connectivity of the whole network.
  • int importNetwork (const mxArray *mxNet)
    Builds a whole network based on the description in mxNet.

Member Function Documentation

int MexNetwork::importNetwork const mxArray *  mxNet  ) 
 

Builds a whole network based on the description in mxNet.

Builds a whole network based on the description in mxNet.

Parameters:
mxNet is a Matlab array (usually) created by exportNetwork().
Can only be called if there are no other objects in the network, i.e. one can not merge to network descriptions.


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