MATLAB: Help me about the error when I use solve command

MATLABsolve error

I use matlab R2013a,
the first pic is my command windows, the second pic that I take it from help. Why does it difference between them ? How do I do so that it same as the example of help. help me. thank you very much.

Best Answer

You are looking on the wrong documentation page. You are looking at http://www.mathworks.com/help/symbolic/mupad_ref/solve.html when you should be looking at http://www.mathworks.com/help/symbolic/solve.html
The only difference between the answer you are being presented and the answer in the example is in the visual presentation. The documentation page you are looking at is the page for running the Symbolic Toolbox within a MuPAD notebook: MuPAD notebooks know how to visually represent answers that the solve() you are actually using has to resort to text to display.