getMarkerParameterValues.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% This function returns the x, y, and z coordinates of a marker in a model.
%
% (Model, string) -> (number, number, number)
% gets the x, y, and z coordinates of a marker in a model
function [xPosition, yPosition, zPosition] = getMarkerParameterValues( ...
model, markerName)
position = model.getMarkerSet().get(markerName).get_location();
xPosition = position.get(0);
yPosition = position.get(1);
zPosition = position.get(2);
end