How do I create my own MATLAB Toolbox and a list of its contents?

49 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2011 年 12 月 13 日
回答済み: Rob Purser 2023 年 6 月 2 日
How do I create my own MATLAB Toolbox and a list of its contents? How can I get a list of functions in a directory by using 'help directory_name'?

採用された回答

MathWorks Support Team
MathWorks Support Team 2011 年 12 月 13 日
A toolbox is a collection of user-written MATLAB files. To make your own toolbox, put the MATLAB files for the toolbox in one or more directories and then add these directories to the MATLAB Path. You can use PATHTOOL to bring up the Path Browser so you can add directories to the MATLAB Path. Use the "Path" menu in the Path Browser. We suggest placing your files outside of the MATLAB directory tree, and then including that directory on your path, instead of working inside the MATLAB directory tree.
For information on how to add help and demos for your own toolbox, please refer to the documentation at:
You may access the same page locally by typing the following at the MATLAB prompt:
web([docroot '/techdoc/matlab_prog/f3-40511.html#bsf0yi2'])

その他の回答 (1 件)

Rob Purser
Rob Purser 2023 年 6 月 2 日
Hi, I wanted to make you aware of a new resource MathWorks has created for MATLAB Toolbox Authors: Best Practices for MATLAB Toolbox Development."
This comprehensive guide provides valuable guidelines and recommendations for high-quality and user-friendly MATLAB toolboxes. By following these best practices, you can create toolboxes that enhance productivity and deliver an exceptional user experience. We also have included a complete example (link) that implements all the best practices.
This has been released under a permissive license so that people can redistribute them freely and incorporate them in their own organization’s best practices. If you have comments or suggestions, open an issue or participate in the discussions on GitHub.
Check out our guide today and start building exceptional MATLAB toolboxes!

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by