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: mne_pick_channels_forward.m
    path of file: ./repos/malini/Codes/deconvolution - model/spm8/external/mne
    
    the code of the file until where you have to start completion: function [fwd] = mne_pick_channels_forward(orig,include,exclude)
%
% [fwd] = mne_pick_channels_forward(orig,include,exclude)
%
% Pick desired channels from a forward solution
%
% orig      - The original forward solution
% include   - Channels to include (if empty, include all available)
% exclude   - Channels to exclude (if empty, do not exclude any)
%
%

%
%
%   Author : Matti Hamalainen, MGH Martinos Center
%   License : BSD 3-clause

    
function [fwd] = mne_pick_channels_forward(orig,include,exclude)
%
% [fwd] = mne_pick_channels_forward(orig,include,exclude)
%
% Pick desired channels from a forward solution
%
% orig      - The original forward solution
% include   - Channels to include (if empty, include all available)
% exclude   - Channels to exclude (if empty, do not exclude any)
%
%

%
%
%   Author : Matti Hamalainen, MGH Martinos Center
%   License : BSD 3-clause
%
%   Revision 1.2  2009/03/04 22:04:31  msh
%   Fixed typos in comments
%
%   Revision 1.1  2009/02/11 22:04:02  msh
%   New routine to pick selected channels from the forward solution
%
%

me='MNE:mne_pick_channels_forward';

if nargin == 1
    fwd = orig;
    return;
elseif nargin == 2
    exclude = [];
elseif nargin ~= 3
    error(me,'Incorrect number of arguments');
end