You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: h_goNogo.m
    path of file: ./repos/VBA-toolbox/demos/_models
    
    the code of the file until where you have to start completion: function fb = h_goNogo(yt,t,in)
% generates the feedback (go/nogo task) given the agent's last choice

    
function fb = h_goNogo(yt,t,in)
% generates the feedback (go/nogo task) given the agent's last choice
if yt==1 % 'go'
    fb = in.u(t);
else % 'nogo'
    fb = 0;
end