% opt = setDebug(opt, debug) % set the debug level function opt = setDebug(opt, debug) opt.debug = debug;