cannot use syms command

1,702 views (last 30 days)
Mi on 14 Dec 2014
Answered: Walter Roberson on 20 Jul 2021
I was running a command
syms x y
And Matlab returns an error: Undefined function 'sym' for input arguments of type 'char'
It didn't happen before. And I'm using a student version. Any suggestion? Thanks alot.

Accepted Answer

Star Strider
Star Strider on 14 Dec 2014
‘It didn’t happen before’ on the same computer or a different computer?
To see what Toolboxes you have installed, in the Command Window, type:
If you have the Symbolic Math Toolbox installed, it should be listed.
If it is, and you’re still getting the error, type these commands in the Command Window:
rehash toolboxcache
If that doesn’t work, contact MathWorks Technical Support.
Star Strider
Star Strider on 2 Nov 2018
My pleasure.
Thank you for voting for it!

Sign in to comment.

More Answers (4)

Mi on 14 Dec 2014
Thanks. I am not able to check it now. You are right that I am using a different computer. If I don't have the toolbox how do I install one?
Mi on 18 Dec 2014

Sign in to comment.

Hamza saeed  khan
Hamza saeed khan on 24 Nov 2020
what if sysm word not working in matlab what to do?
Walter Roberson
Walter Roberson on 25 Nov 2020
From time to time it means that you have a corrupted Symbolic Toolbox and need to reinstall.
Also if some symbolic functions work but not others then sometimes the problem has to do with having the Maplesoft "MATLAB Connector" installed to communicate with the Maple software package.

Sign in to comment.

Giovanny Steven Sandoval Montoya
I have problems with "syms".
Error in Validacion (line 24)
syms T1
If I don't have the toolbox how do I install one?


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!