MATLAB: Rhs method returning empty sym

MATLABsymbolicSymbolic Math Toolbox

I am unable to use the function rhs to extract RHS of symbolic equations
Code written:
syms x; rhs(x==5)
This returns
[ empty sym ]
Is there something that I am missing here?

Best Answer

Possible reason is that you may have created a variable/file named rhs , please clear it.
Related Question