I just read the following article from MathWorks which describes why it is important to avoid the eval
function and lists alternatives to many of eval
's common uses.
After reading the article, I have the impression that the eval
function is neither useful nor necessary. So, my question is this: When is the eval
function necessary?