Google found only one hit for mk_egs_string. It was this question. So this is not a MathWorks function, nor is it a function on the File Exchange. So you should probably contact the author of that file for help. Or if you are the author, we're going to need a lot more information about what this function is supposed to do.