Home > freetb4matlab > ocs > PRS > PRSIFFparse.m

PRSIFFparse

PURPOSE ^

% Parses a netlist in IFF format and produces the system description

SYNOPSIS ^

function outstruct = PRSIFFparse(name)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn{Function File} @var{outstruct} = PRSIFFparse(@var{name})
% Parses a netlist in IFF format and produces the system description
% structure @var{outstruct}.
% @var{name} is the basename of the CIR and NMS files to
% be parsed.
%
% See the @cite{IFF file format specifications} (distributed together
% with the OCS package) for more details on the file format
%
% The returned structure @var{outstruct} has the following fields:
%
% @example
% outstruct =
% @{
%  LCR:  struct      % the fields of LCR are shown below
%  NLC:  struct      % NLC has the same fields as LCR
%  namesn: matrix    % numbers of vars named in .nms file
%  namess: cell      % the names corresponding to the vars above
%  totextvar: scalar % the total number of external variables
%  totintvar: scalar % the total number of internal variables
% @}
%
% outstruct.LCR =
% @{
%  struct array containing the fields: % array has one element per block
%
%    func     % name of the sbn file corresponding to each block
%    section  % string parameter to be passed to the sbn files
%    nextvar  % number of external variables for each element of the block
%    vnmatrix % numbers of the external variables of each element
%    nintvar  % number of internal variables for each element of the block
%    osintvar % number of the first internal variable
%    npar     % number of parameters
%    nparnames% number of parameter names
%    nrows    % number of rows in the block
%    parnames % list of parameter names
%    pvmatrix % list of parameter values for each element
%
% @}
% @end example
%
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003