tennsS v1.53 Reference Manual

Copyright (C) 1997 - 2002 Mike Arnold, Altjira Software, mikea@altjira.com

Go to the previous, next section, table of contents.


Mtng_P_S

Class Mtng_P_S derived from Networkp and Networks (size <300> bytes)

A component object that implements a network of dummy nodes where the functionality of the network is defined by a Network Model Interface (NMI) object. It is expected that the number of nodes is explicitly defined by the NMI object.


Configuration

nmi/... passed to the NMI object

Commands

nmi/... passed to the NMI object build build the Nmi component parse pass the input streams as a configuration stream to the Nmi component. The following details the NMI object. The base NMI object

A Network Model Interface Component.

Configuration

always-output=<bool> always send output state (false) input-alias=<tag or old alias>:<new alias> sets new alias for input tag output-alias=<tag or old alias>:<new alias> sets new alias for output tag The derived NMI object

An NMI component that calls the matlab engine to run some matlab code. The command to start the matlab engine is defined using <start>. The matlab code must conform to the requirements as laid out in the libmtng documentation, whereby the code is packaged up within a number of predefined functions and modules whose names have an 'nmi' prefix. The code to be run is located using the matlab path, as defined by the matlab installation and the user's matlab profile. This path may be modified by being prepended with <path>. Additional code to be run during construction (when the engine starts) and during reset can be specified using <construct> and <reset>. Configuring <start> or <path> causes the engine to be re-started. Configuring <construct> does not cause the engine to be re-started, but does cause <construct> to be immediately applied.

Configuration

start=<string> starting matlab (matlab -nodesktop -nosplash) path=<string> path to add to the matlab engine (none) construct=<string> additional construct command (none) reset=<string> additional reset command (none)

Commands

start-engine [command=<string>] start the matlab engine command=<string> command to start engine stop-engine stop the matlab engine run-code code=<string> run some matlab code=<string> the code to run The Current Matlab Code

A description of the current matlab code for a specific object can be found in the relevant nmiClassDesc.m matlab file. This file can be run using the run-code command.

Derived Classes


Go to the previous, next section, table of contents. Document generated Mon Jun 16 02:19:05 GMT 2003