getNumSynergyWeights.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% () -> ()
%
function numSynergyWeights = getNumSynergyWeights(synergyGroups)
numSynergyWeights = 0;
for i = 1 : length(synergyGroups)
numSynergyWeights = numSynergyWeights + ...
length(synergyGroups{i}.muscleNames) * synergyGroups{i}.numSynergies;
end
end