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.
댓글 수: 0
채택된 답변
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!