functiontstream=mtresolve_stream(instream)% function tstream = mtresolve_stream(instream)%% check whether the instream argument is an mexec short name% for a longer techsas stream name. If yes, return the matching techsas name% If no match is found, return the instream as the output.%% The correspondence table is set up in script mtnamesnames=mtnames;mn=names(:,1);tn=names(:,3);% hunt for mexec short namek=strmatch(instream,mn,'exact');ifisempty(k)% no match, so return the input nametstream=instream;elsetstream=tn{k(1)};end