stringArrayToStdVectorString.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% Processes an array of string into a StdVectorString.
%
% (Array of string) -> (StdVectorString)
% Print results of optimization to console or file
function output = stringArrayToStdVectorString(stringArray)
import org.opensim.modeling.StdVectorString
output = StdVectorString();
for i=1:length(stringArray)
output.add(i-1, stringArray(i))
end
end