What is the difference between PRJ files associate with Toolboxes and PRJ files associated with a standalone MATLAB Project?
19 views (last 30 days)
Show older comments
MathWorks Support Team
on 22 Oct 2020
Answered: MathWorks Support Team
on 1 Feb 2021
I was looking at the .prj file that gets generated when packaging a custom MATLAB toolbox and comparing it to the .prj files that are created through the MATLAB Projects feature. It seems like these two files are quite different yet share the same file extension.
Could you clarify the differences/similarities between these two .prj files?
When I open one, it opens the MATLAB Project browser, while opening the other opens the Toolbox Packaging tool.
Accepted Answer
MathWorks Support Team
on 22 Oct 2020
The PRJ file within a toolbox represents an integration of MATLAB Projects feature into the Toolbox development workflow.
The PRJ file associated with a toolbox provides a reproducible environment for writing and testing toolbox code (by defining and managing the path, as a standalone MATLAB Project does). By defining this environment, a project also enables MATLAB to quickly determine dependencies and notice packaging errors within the toolbox. Finally, when a new version of the toolbox is ready for release, the organization capabilities of the project make it easy to automate common tasks, such as running tests and packaging.
For more information about how MATLAB Projects integrates with the Toolbox workflow, see the article linked below:
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!