        if hasSlope %only calculate these if the obj function includes slope          modelTarget = changeObjective(modelKO,target); %set target as the objective          FBAsol0 = optimizeCbModel(modelTarget,'min',0,true); %find min production rate          modelTargetFixed = changeRxnBounds(modelKO,target,FBAsol0.f,'b'); %fix production to minimum          FBAsol0 = optimizeCbModel(modelTargetFixed,'max',0,true); %find max growth at min production          