function definition, where to save them?
1 次查看(过去 30 天)
显示 更早的评论
Hi, can anyone help me where should I save the functions I create in order to use them in my command window?
0 个评论
采纳的回答
Wayne King
2012-1-31
You can save them in any folder. Then you have to add that folder to the MATLAB path. Use pathtool, or addpath
For example, assume you save them in c:\mfiles
>>addpath 'c:\mfiles'
pathtool brings up a GUI to do the same thing.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!