Adding a folder to the MATLAB path

5 次查看(过去 30 天)
Good morning everyone. Every time i try to use "syms", matlab returns an error saying "syms" is not found in the current path, but can be added to it. I do what matlab suggests and it all works. However, this "adding syms to the current path" lasts only for the current section. Anytime I close matlab I have to do it again. Is there anyway to add "syms" to the current folder on start up?

采纳的回答

Ameer Hamza
Ameer Hamza 2020-4-28
syms should be on the path by default. It seems like you have messed up the MATLAB paths. You can try to restore them by running this command: https://www.mathworks.com/help/matlab/ref/restoredefaultpath.html
restoredefaultpath
  6 个评论
Matteo Campagnoli
Matteo Campagnoli 2020-4-30
I'm sorry, I'm kind of a newbie on this forum and on matlab itself. Let me know if there's anything more i should do. Best regards
Ameer Hamza
Ameer Hamza 2020-4-30
No problem. Accepting an answer is enough. I am glad to be of help.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by