from
simbus
by Sanjai Singh The DataBus Blockset provides a method for manipulating signals from a vector in SIMULINK.
simbus.m
%SIMBUS A text file used to define a SIMULINK DataBus vector.
%
%A SIMBUS file contains two columns of information. The first
%column is the list of signal names in the DataBus. The second column
%is a list of the corresponding signal sizes.
%
%The file can have any number of lines at the beginning which start
%with %. These lines are treated as comments and ignored.
%
%Any text beyond the signal sizes will be ignored as well. This is usefull
%for documentation.
%
%Type "type bus1.txt" at the MATLAB prompt to see a sample bus file.
disp('Type buslib to bring up the SIMULINK DataBus library.')
% William York, 12/95.
% Copyright (c) 1995 by The MathWorks, Inc.
% $Revision: 1.1 $