Setting the Path

132 views
Skip to first unread message

Grayson Szczepaniak

unread,
May 9, 2015, 11:07:48 PM5/9/15
to fre...@googlegroups.com
Hey everyone!

So I'm trying to create a function, but when I try to run the function I get a message that says "Undefined function or variable." I know the solution is to set the path, but I'm having trouble doing it. I looked on Google and it said to go to "Tools" and then "Path Tool," but I don't have "Path Tool" as an option. Any other suggestions? Help please!!


Norman Chen

unread,
Sep 11, 2015, 6:42:24 AM9/11/15
to freemat
Hi, you can try to use "path" or "addpath" like
path(path, 'MyPath'), and
addpath('MyPath')

Grayson Szczepaniak於 2015年5月10日星期日 UTC+8上午11時07分48秒寫道:
Reply all
Reply to author
Forward
0 new messages