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: cat_io_send_udp_to_server.m
    path of file: ./repos/cat12/internal
    
    the code of the file until where you have to start completion: function cat_io_send_udp_to_server
% This function will send mac-address and version information to the SBM server
%_______________________________________________________________________
% Christian Gaser
% $Id$

% don't do anything if default is not set

    
function cat_io_send_udp_to_server
% This function will send mac-address and version information to the SBM server
%_______________________________________________________________________
% Christian Gaser
% $Id$

% don't do anything if default is not set
if ~cat_get_defaults('extopts.send_info'), return; end

mac = MACAddress();

% replace "-" by "." for windows systems
mac = strrep(mac,'-',':');

[nam,rev_cat] = cat_version;
[nam,rev_spm] = spm('Ver');

% platform OS
platform = system_depend