MATLAB Projects Part 3: Standard Project Folder Structure
Автор: Peter Brady
Загружено: 2024-07-31
Просмотров: 614
This third video in the series on MATLAB Projects looks at a structured approach to organizing MATLAB projects using standardized folders. The key folders include:
-) app: For auto-generated code, kept off the path to avoid accidental modifications.
-) data: Stores project-related data objects, typically off the path but can be included based on project needs. Would be included in source control
-) model: Contains Simulink and related models and is always on the path.
-) sandbox: A development area for testing ideas, kept off the path to prevent interference with main code.
-) shortcuts: Holds project-specific utilities and scripts for startup and shutdown.
-) src: Contains MATLAB source code, scripts, functions, and classes, generally on the path.
-) tests: Houses unit tests and continuous integration/deployment foundations, mirroring the source folder structure.
-) utils: Stores standard utilities that enhance the project but are not compiled into the output.
I walk through this with a clean project that I always start with and then show how, in practice, this can be expanded to a more complex project. The complex project shows how to layout namespaces in source code as well as matching unit testing structures.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: