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: ecc_2016_hifoo.m
    path of file: ./repos/lc_toolbox/Examples/Standalone/ECC2016
    
    the code of the file until where you have to start completion: function [K,CL,time] = ecc_2016_hifoo(G,WS,MS,WT,new)
%ECC_2016_LTI_MIXEDHINFSYNMIMO Summary of this function goes here
%   Detailed explanation goes here

options.output = struct('controller',0,'performance',1,'closedloop',0,'displaystyle','normal')

G = LTIsys(G);
WS = LTIsys(WS);
MS = LTIsys(MS);
WT = LTIsys(WT);

lti_begin(options)
    % Define the exogeneous input r
    signal r 

    % Define the connections
    u = G.in;       % Control input
    y = G.out;      % Control output
    e = r - y(1);   % tracking error
    
    % Define the control problems
    S = Channel(e/r, 'Sensitivity');
    U = Channel(u/r, 'Input sensitivity');
    T = Channel(y(1)/r, 'Complementary sensitivity');
    
    show(S,U,T)
    
%     ctrl_begin('classic')
%         K.in = e;       % Controller inputs: reference
%         K.out = u;      % Controller output

    
function [K,CL,time] = ecc_2016_hifoo(G,WS,MS,WT,new)
%ECC_2016_LTI_MIXEDHINFSYNMIMO Summary of this function goes here
%   Detailed explanation goes here

options.output = struct('controller',0,'performance',1,'closedloop',0,'displaystyle','normal')

G = LTIsys(G);
WS = LTIsys(WS);
MS = LTIsys(MS);
WT = LTIsys(WT);

lti_begin(options)
    % Define the exogeneous input r
    signal r 

    % Define the connections
    u = G.in;       % Control input
    y = G.out;      % Control output
    e = r - y(1);   % tracking error
    
    % Define the control problems
    S = Channel(e/r, 'Sensitivity');
    U = Channel(u/r, 'Input sensitivity');
    T = Channel(y(1)/r, 'Complementary sensitivity');
    
    show(S,U,T)
    
%     ctrl_begin('classic')
%         K.in = e;       % Controller inputs: reference
%         K.out = u;      % Controller output
%         
%         minimize(WS*S)
%         subject to
%             MS*S <= 1
%             WT*T <= 1
%     ctrl_end