This...

str = 'ones';

function_handle = str2func(str)

function_handle(1,5)

...does not work for methods defined within a class.

Is there an alternative solution?

Thank you

Similar questions and discussions