
function key = vector_to_string(vector, separator)

    
    if nargin<2
        separator = '';
    end



    len = length(vector);
    
    out = '';
    for i = 1:len
        
        if i > 1
            out = [out separator];
        end
        
        val = vector(i);
        out = [out num2str(val)];
        
    end     % for i = 1:len


    key = out;
    
    
end
