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: get_shared_memory_data_type.m
    path of file: ./repos/shared_memory/matlab
    
    the code of the file until where you have to start completion: function out = get_shared_memory_data_type()
% get_shared_memory_data_type() return the shared memory data type as char
% For complex-64 and complex-128, 'csingle' and 'cdoulble' will be returned.

    load_shared_memory_library();
    
    out = check_library_error(calllib('shared_memory','get_shared_memory_data_type'));

    switch out
        case 0
            out = 'uint8';
        case 1
            out = 'uint16';
        case 2
            out = 'uint32';
        case 3
            out = 'uint64';
        case 4

    
function out = get_shared_memory_data_type()
% get_shared_memory_data_type() return the shared memory data type as char
% For complex-64 and complex-128, 'csingle' and 'cdoulble' will be returned.

    load_shared_memory_library();
    
    out = check_library_error(calllib('shared_memory','get_shared_memory_data_type'));

    switch out
        case 0
            out = 'uint8';
        case 1
            out = 'uint16';
        case 2
            out = 'uint32';
        case 3
            out = 'uint64';
        case 4
            out = 'int8';
        case 5
            out = 'int16';
        case 6
            out = 'int32';
        case 7
            out = 'int64';
        case 8
            out = 'single';
        case 9
            out = 'double';
        case 10
            out = 'csingle';
        case 11
            out = 'cdouble';
        case 12
            out = 'char';
    end