function [params] = ParseParams(line)
%PARSEPARAMS Summary of this function goes here
%   Detailed explanation goes here
    % Split line into parameter, equipped, comments. This could be a
    % function
n = 0;
while(1)
    parts = split(line, '= ', 2);
    if numel(parts) == 1
        continue; % Skip lines that don't have ' = ' delimiter
    elseif numel(parts) == 2 && strlength(parts(2)) > 1
        c = split(parts(2), ',', 2);
        parts = [parts(1) c];
    end
    
    % Trim whitespace
    parameter = strtrim(parts{1});
    equipped = strtrim(parts{2});
    if numel(parts) > 2
        comments = strtrim(parts{3});
    else
        comments = '';
    end
    % save data
    n = n + 1;
    params{n, 1} = parameter;
    params{n, 2} = equipped;
    params{n, 3} = comments;
    break
end
end