function [soundsourceCombinationsTable] = createCombinationsTable(pSoundsourceCombinationsCell)
%TRACKPARAMETERTOWORKSPACE Summary of this function goes here
%   Detailed explanation goes here

%% Setup variables
variableNames = { ...
    'combinationBegin', ...
    'combinationEnd', ...
    'soundsources', ...
    'referencePosition', ...
    'soundspeed1', ...
    'soundspeed2', ...
    'soundspeed3', ...
    'soundspeed4', ...
    'soundspeed5' ...
};
% 
% variableTypes = { ...
%     'double', ...
%     'double', ...
%     'string', ...
%     'string', ...
%     'double', ...
%     'double', ...
%     'double', ...
%     'double', ...
%     'double' ...
% };

%% Create struct for workspace
soundsourceCombinationsTable = cell2table( ...
    pSoundsourceCombinationsCell, ...
    'VariableNames', ...
    variableNames ...
);


% soundsourceCombinationsStruct = struct();
% for i = 1:size(pSoundsourceCombinationsCell, 1)
%     if ~isnumeric(pSoundsourceCombinationsCell{i, 1})
%         soundsourceCombinationsStruct(i).begin = str2double(pSoundsourceCombinationsCell{i, 1});
%     else
%         soundsourceCombinationsStruct(i).begin = pSoundsourceCombinationsCell{i, 1};
%     end
%     soundsourceCombinationsStruct(i).end = str2double(pSoundsourceCombinationsCell{i, 2});
%     soundsourceCombinationsStruct(i).soundsources = unique(strsplit( ...
%         pSoundsourceCombinationsCell{i, 3} ...
%     , ' ')) ;
%     soundsourceCombinationsStruct(i).referencePoint = cellfun(@str2double, strsplit( ...
%         pSoundsourceCombinationsCell{i, 4}, ' ', ...
%         'CollapseDelimiters', true ...
%     ));
%     soundsourceCombinationsStruct(i).soundspeed = cellfun( ...
%         @str2double, ...
%         pSoundsourceCombinationsCell(i, 5:9) ...
%     );
% end

end