function hyperlink = makeHyperlink(text, codeToRun) codeToRun = ['matlab: ' codeToRun]; hyperlink = sprintf('%s', codeToRun, text); return