Adding Complex Structure Capabilities to Simulink
The StructureLib toolbox from Podium
Technology extends the capabilities of MATLAB®/Simulink®
by adding the ability to handle multi-data typed structures and bitwords
that can be nested to any depth. Principle uses for
this are to integrate models with existing functionality or simplify the
path between user S-Functions.
The user is able to
define the structures; each member can be any standard Simulink data type
or could reference another structure
definition to give a multi-levelled structure. Each member can be also be
given dimensions to make it into a vector or matrix. StructureLib also
supports bitword structures where bits or collections of bits can be
collated into an integer.
The following blocks
are supplied:
-
StructMux: Creates
a structure type from its primitive elements - e.g. to feed a user
S-Function.
-
StructDemux: Breaks
out a structure into its primitive parts - e.g. to decode the output
from S-Functions.
-
StructPicker: Pick
out individual members, used instead of StructDemux when only one member
is required.
-
StructPoker:
Inserts individual members into a structure.
-
Struct Store
Memory: Defines memory storage for saving structures to.
-
Struct Store Read:
Reads the whole structure, sub structures or structure elements from the
structure store.
-
Struct Store Write:
Writes the whole structure, sub structures or structure elements to the
structure store.
-
Bitword DTC: Writes
the whole structure, sub structures or structure elements to the
structure store.
Structure definitions
are driven from a single source, either m-scripts where the ‘C’ header
file is generated for creating S-Functions, alternatively, descriptions
for Simulink can be driven from ‘C’ header files using the parser
provided.
To download the product specification,
click here. |