I have created a GUI in matlab with a edit box and the user should enter a function so the program may evaluate some values.
However how do I retrieve the function in the textbox and how do I make the proper validations for example if the user enters "sin(coserewrwfc(x))"
My code is:
f = get(handles.funcion,'String');
f =inline(f)
f(0)
Thanks for your help