MATLAB: Inline.inline at 47

inline()

Hello people,
Can someone explain what's kind of error is this:
inline.inline at 47 Input must be a string.
P.S. I use diff function in my code.
Thanks.

Best Answer

syms x
fun = sym( get(handles.edit4,'String') );
f = matlabFunction(fun, x);
dfun = diff( fun, x );
df = matlabFunction(dfun, x);
Related Question