Mercurial > hg > camir-aes2014
annotate toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirdesign/display.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 function display(d) |
wolffd@0 | 2 % MIRDESIGN/DISPLAY display of a MIR design |
wolffd@0 | 3 |
wolffd@0 | 4 disp(' '); |
wolffd@0 | 5 va = inputname(1); |
wolffd@0 | 6 if isempty(va) |
wolffd@0 | 7 va = 'ans'; |
wolffd@0 | 8 end |
wolffd@0 | 9 disp([va,' is the following non-evaluated MIRtoolbox command:']); |
wolffd@0 | 10 method = d.method |
wolffd@0 | 11 option = d.option; |
wolffd@0 | 12 if not(isempty(option)) |
wolffd@0 | 13 option |
wolffd@0 | 14 end |
wolffd@0 | 15 postoption = d.postoption; |
wolffd@0 | 16 if not(isempty(postoption)) |
wolffd@0 | 17 postoption |
wolffd@0 | 18 end |
wolffd@0 | 19 argument = d.argin; |
wolffd@0 | 20 if not(ischar(d.argin)) |
wolffd@0 | 21 disp('***Argument:') |
wolffd@0 | 22 argument |
wolffd@0 | 23 end |
wolffd@0 | 24 disp(' '); |