wolffd@0: function v = mirverbose(s) wolffd@0: % mirverbose(0) toggles off the display by MIRtoolbox of minor informations wolffd@0: % in the Matlab Command Window (such as "Computing mirfunction ..."). wolffd@0: % mirverbose(1) toggles back on the display of such information. wolffd@0: wolffd@0: persistent mir_verbose wolffd@0: wolffd@0: if nargin wolffd@0: mir_verbose = s; wolffd@0: else wolffd@0: if isempty(mir_verbose) wolffd@0: mir_verbose = 1; wolffd@0: end wolffd@0: end wolffd@0: wolffd@0: v = mir_verbose;