I cannot use "syms" on matlab online

9 views (last 30 days)
Giulia Di Giorgio
Giulia Di Giorgio on 25 Nov 2021
Commented: Giulia Di Giorgio on 25 Nov 2021
Good morning, when I try to use the syms function it shows me this error:
Execution of script syms as a function is not supported:
/MATLAB Drive/syms.m
What can I do?
I checked a few related questions and a suggestion was to type:
restoredefaultpath
rehash toolboxcache
When I did it, matkab showed me this message: Unable to run the 'restoredefaultpath' function, because it is not supported for MATLAB Online. To use this function, use an installed version of MATLAB on your computer.
Is there anything I can do?
  2 Comments
DGM
DGM on 25 Nov 2021
You have a script called syms.m. Don't name your variables or files in such a way that they shadow MATLAB function files. Rename that script.

Sign in to comment.

Answers (0)

Categories

Find more on Platform and License in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!