Mercurial > hg > camir-aes2014
comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/mirverbose.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e9a9cd732c1e |
---|---|
1 function v = mirverbose(s) | |
2 % mirverbose(0) toggles off the display by MIRtoolbox of minor informations | |
3 % in the Matlab Command Window (such as "Computing mirfunction ..."). | |
4 % mirverbose(1) toggles back on the display of such information. | |
5 | |
6 persistent mir_verbose | |
7 | |
8 if nargin | |
9 mir_verbose = s; | |
10 else | |
11 if isempty(mir_verbose) | |
12 mir_verbose = 1; | |
13 end | |
14 end | |
15 | |
16 v = mir_verbose; |