What is recommended way to store code snippets like utility functions?

3 次查看(过去 30 天)
I have a lot of small code snippets which i can classify into either utilities, examples, and such. Is there a best practice way of storing these types of things (and being able to use them in specific projects)? IE is there a 'library' concept of storage and where/how can that be done, as opposed to a project subfolder either in the working folder, or seperate folders.

采纳的回答

Jan
Jan 2022-3-8
Yes. Store the tools in their own folder, exactly as you can see it for Matlab's toolboxes. You can distinguish "tools", which should be available in all other functions as e.g. numerical functions, "toolboxes" as e.g. a set of specific drawing methods which produce a standard figure with page numbers, titles and so on, and finally your projects.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by