function X = uploadEpsToImgSrc(filename, outPath)
% THUS FUNCTION INVOKES THE SCRIPT FOR EPS-PDF CONVERSION AND MAINTENANCE




%appending eps extension if filename does not end on one
if (size(strfind(filename, '.eps'),1) ~= 1)
    filename = [filename '.eps'];
end

%executing the command
command = ['H:\repo\latex\utils\graphicsMerge\uploadMatlabLaprint.bat ' filename ' ' outPath];
system(command);