Mercurial > hg > camir-ismir2012
comparison toolboxes/MIRtoolbox1.3.2/MIRToolbox/mirverbose.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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:cc4b1211e677 |
---|---|
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; |