My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
showQucsDataSet.m
Go to the documentation of this file.
1 % -*- texinfo -*-
3 % Shows the content of the Qucs dataset @var{dataset}.
4 % @end deftypefn
5 
6 % Copyright 2010 (C) 2010 by Eberhard Gamm <eberhard.gamm@gmx.de>
7 % Published under GNU General Public License (GPL V2). No warranty at all.
8 
9 function showQucsDataSet(dataSet)
10 % Show contents of data set
11 
12 if isempty(dataSet)
13  fprintf(1,'\nData set is empty.\n\n');
14 else
15  fprintf(1,'\nContents of data set:\n');
16  fprintf(1,'------------------------------------------------------------\n');
17  fprintf(1,'Variable Dependency Length\n');
18  fprintf(1,'------------------------------------------------------------\n');
19  for i = 1:length(dataSet)
20  fprintf(1,'%-24s %-24s %10d\n',dataSet(i).name,...
21  dataSet(i).nameDep,dataSet(i).len);
22  end
23  fprintf(1,'------------------------------------------------------------\n\n');
24 end