Mercurial > hg > camir-ismir2012
annotate toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirdesign/display.m @ 0:cc4b1211e677 tip
initial commit to HG from
Changeset:
646 (e263d8a21543) added further path and more save "camirversion.m"
author | Daniel Wolff |
---|---|
date | Fri, 19 Aug 2016 13:07:06 +0200 |
parents | |
children |
rev | line source |
---|---|
Daniel@0 | 1 function display(d) |
Daniel@0 | 2 % MIRDESIGN/DISPLAY display of a MIR design |
Daniel@0 | 3 |
Daniel@0 | 4 disp(' '); |
Daniel@0 | 5 va = inputname(1); |
Daniel@0 | 6 if isempty(va) |
Daniel@0 | 7 va = 'ans'; |
Daniel@0 | 8 end |
Daniel@0 | 9 disp([va,' is the following non-evaluated MIRtoolbox command:']); |
Daniel@0 | 10 method = d.method |
Daniel@0 | 11 option = d.option; |
Daniel@0 | 12 if not(isempty(option)) |
Daniel@0 | 13 option |
Daniel@0 | 14 end |
Daniel@0 | 15 postoption = d.postoption; |
Daniel@0 | 16 if not(isempty(postoption)) |
Daniel@0 | 17 postoption |
Daniel@0 | 18 end |
Daniel@0 | 19 argument = d.argin; |
Daniel@0 | 20 if not(ischar(d.argin)) |
Daniel@0 | 21 disp('***Argument:') |
Daniel@0 | 22 argument |
Daniel@0 | 23 end |
Daniel@0 | 24 disp(' '); |