annotate 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
rev   line source
Daniel@0 1 function v = mirverbose(s)
Daniel@0 2 % mirverbose(0) toggles off the display by MIRtoolbox of minor informations
Daniel@0 3 % in the Matlab Command Window (such as "Computing mirfunction ...").
Daniel@0 4 % mirverbose(1) toggles back on the display of such information.
Daniel@0 5
Daniel@0 6 persistent mir_verbose
Daniel@0 7
Daniel@0 8 if nargin
Daniel@0 9 mir_verbose = s;
Daniel@0 10 else
Daniel@0 11 if isempty(mir_verbose)
Daniel@0 12 mir_verbose = 1;
Daniel@0 13 end
Daniel@0 14 end
Daniel@0 15
Daniel@0 16 v = mir_verbose;