function dydt = knockout(y,t)
%if start_time >end_time -> nothing gets knocked out
  global knockout_var; % = 12;
  global knockout_val; % = 0;
  global start_time;   % = 10;
  global end_time;     % = 0;
  global slope;        % = 1;

  %sprintf("aaa%d\t%d\t%d\t%d\t%d\n", knockout_var,knockout_val,start_time,end_time,slope);
  yp = gen_net_octave(y,t);

  if ((y(55) >= start_time) && (y(55)<= end_time))
    yp(knockout_var)=slope*(knockout_val-y(knockout_var));
  endif
  dydt=yp;
endfunction
