Determine the load order of referenced projects in a Matlab project
10 次查看(过去 30 天)
显示 更早的评论
Is it possible to determine the order in which referenced projects are loaded in a Matlab project? There seems no obvious way to do it.
It is not possible to "drag" the order in the UI, and the order in the proj.ProjectReferences() does not appear to be respected when loading the project?
Is it possible?
2 个评论
Anurag Ojha
2023-4-13
Hi william,
Can you provide more information what exactly are you looking for, by load order do you mean in the order projects are loaded in MATLAB project?
回答(1 个)
Anurag Ojha
2023-4-14
Hi William,
As per my understanding you want to know if it is explicitly possible to set the order in which projects are loaded in MATLAB Project. In Matlab project we use “ matlab.project.loadProject(projectPath)” to load the project which loads the project specified by the file or folder projectPath. If any projects are currently open, MATLAB closes them before loading the specified project. There isn’t any way to explicitly determine the order in which projects are loaded.
To explore more, you can refer to the following MATLAB Documentations
Hope it helps!!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!