Slow MATLAB .prj Changes

20 ビュー (過去 30 日間)
Daniel Zakzewski
Daniel Zakzewski 2023 年 5 月 24 日
回答済み: Raymond Yeung 2023 年 5 月 31 日
When I use the MATLAB "Project" tool to organize projects it takes far longer than expected for simple file management tasks. For instance, any modification to file locations results in a >15 minute long "Moving File" progress bar. During this period I get project status pinwheels labeled "Determining if files are stored in the CM system", "Adding files", "Getting status for files", and "Moving file". The "Getting status for files" has the longest duration.
In the end it moves the files as desired, but this seem extremely excessive for simple moving of files. Any suggestions?

回答 (1 件)

Raymond Yeung
Raymond Yeung 2023 年 5 月 31 日
Do you have many files in your project root folder? That could be the issue.
I initially had the same issues you are describing. Performing simple tasks such as moving, deleting, or renaming files took 5 - 15 min. For my project, I initially had log/output folders (not in project, untracked) buried in the project root folder. The output folders contained around 15000 output files. Deleting the output files or saving the output files outside of the project root folder resolved the issue for me; it takes only ~5 s for simple tasks. It seems like it doesn't matter whether the files are added to the project / tracked.

カテゴリ

Help Center および File ExchangeProject Setup についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by