What is recommended way to store code snippets like utility functions?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Michael Sanders
el 8 de Mzo. de 2022
Respondida: Jan
el 8 de Mzo. de 2022
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 comentarios
Respuesta aceptada
Jan
el 8 de Mzo. de 2022
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre File Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!