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: panel_duneuro.m
    path of file: ./repos/brainstorm3/toolbox/forward
    
    the code of the file until where you have to start completion: function varargout = panel_duneuro(varargin)
% PANEL_DUNEURO: DUNEuro options
%
% USAGE:  bstPanel = panel_duneuro('CreatePanel
    
function
    ctrl = struct('jCheckLayer',           jCheckLayer, ...
                  'jTextCond',             jTextCond, ...
                  ... 'jRadioFemTypeFit',      jRadioFemTypeFit, ...
                  ... 'jRadioFemTypeUnfit',    jRadioFemTypeUnfit, ...
                  'jRadioSolverTypeCg',    jRadioSolverTypeCg, ...
                  'jRadioSolverTypeDg',    jRadioSolverTypeDg, ...
                  'jRadioSrcModelVen',     jRadioSrcModelVen, ...
                  'jRadioSrcModelSub',     jRadioSrcModelSub, ...
                  'jRadioSrcModelPar',     jRadioSrcModelPar, ...
                  'jTextNbMoments',        jTextNbMoments, ...
                  'jTextRefLen',           jTextRefLen, ...
                  'jTextWeightExp',        jTextWeightExp, ...
                  'jTextRelaxFactor',      jTextRelaxFactor, ...
                  'jCheckMixedMoments',    jCheckMixedMoments, ...
                  'jCheckRestrict',        jCheckRestrict, ...
                  'jTextIntorderadd',      jTextIntorderadd, ...
                  'jTextIntorderadd_lb',   jTextIntorderadd_lb, ...
                  'jTextSrcShrink',        jTextSrcShrink, ...
                  'jCheckSrcForceInGM',   jCheckSrcForceInGM, ...
                  'jCheckSaveTransfer',    jCheckSaveTransfer, ...
                  'jCheckUseIntegrationPoint', jCheckUseIntegrationPoint,...
                  'jCheckEnableCacheMemory', jCheckEnableCacheMemory,...
                  ...'jCheckMegPerBlockOfSensor', jCheckMegPerBlockOfSensor,...
                  'UseTensor',             OPTIONS.UseTensor);
    ctrl.FemNames = OPTIONS.FemNames;
    % Create the BstPanel object that is returned by the function
    bstPanelNew = BstPanel(panelName, jPanelNew, ctrl);
    % Update comments
    UpdatePanel(1);
    


%% =================================================================================
%  === LOCAL CALLBACKS  ============================================================
%  =================================================================================
    %% ===== BUTTON: CANCEL =====
    function ButtonCancel_Callback(varargin)
        % Close panel
        gui_hide(panelName);
    end