function [eventID] = ma_GetEventIDByEventNum(eventNum, script)
%getEventIDByEventNum Summary of this function goes here
%   Detailed explanation goes here
    try
        eventID = script{eventNum}.id;
    catch
        eventID = -1;
    end
end


Arrowstar
github-repos/MATLAB/Arrowstar-ksptot/ksptot-2b414440d3b167ba2294f56dafce0f465c07f982/helper_methods/ksptot_ma/events/ma_GetEventIDByEventNum.m
ksptot
github-repos/MATLAB/Arrowstar-ksptot
2b414440d3b167ba2294f56dafce0f465c07f982