Creating your own MATLAB functions
显示 更早的评论
Hello, I am new to MATLAB and this forum and I want to ask whether I can create my own functions and store them in my MATLAB library so that I can call them in my projects when necessary? If yes, please guide me through the procedure of doing so, (for example which folder etc. etc.). I am using version R2012a
回答(1 个)
Walter Roberson
2015-5-25
Yes. Just create convenient directories for them that are not under the MATLAB installation directories, and use
pathtool
to add the directories to your MATLAB path.
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!