Why the error is showing: Attempt to execute SCRIPT syms/<matlab file name> as a function:
1 view (last 30 days)
Show older comments
syms s;
p=3;
g=int(s^2,1,p);
0 Comments
Answers (1)
Walter Roberson
on 19 May 2014
That can occur if your MATLAB path is messed up, or your toolbox cache, or your installation is corrupt. The file it is finding is probably the .m file that is used only to hold the help documentation. See the command "rehash" for rebuilding the cache.
A common cause for this seems to be manually copying toolboxes from one system to another instead of doing a real installation.
2 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!