Description:

The DataBus Blockset provides a method for manipulating signals from a vector in SIMULINK. Signals can be selected, set, and changed - all by name, rather than index.

This is useful for handling multiple signals of varying lengths.

Installation:

Usage:

Type buslib at the MATLAB prompt to open the main block library.

Type help simbus at the MATLAB prompt for a list of available functions and a summary of the SIMULINK bus vector data structure.

The Insert Signal(s) block can be used to initialize a bus and/or insert signals into an exisiting bus. If Show bus name is not selected, the Insert Signal(s) block will output a vector of zeros which is the length of the DataBus.

Limitations:

Currently the "insert" block requires that at least one signal be selected. If no inputs are connected to the block, the block will output a vector of zeros which is the length of the DataBus.

The bus definition files must exist in the current directory.

Please direct questions and comments to:
william@mathworks.com