How to speed up Project loading?
21 次查看(过去 30 天)
显示 更早的评论
It is too slow to load one of my Projects. The most time consuming step is "Identify Shadowed project files".
How can I disable it?
What should I do to accelerate this step?
Also, I see a Simulink icon next to "Identify Shadowed project files", although my Project has no Simulink files.
1 个评论
Nathaniel
2023-5-31
To address the issue of slow loading in your project, specifically the time-consuming step of "Identify Shadowed project files," you can take certain steps to improve the loading performance. Firstly, review the build or bundling configuration of your project. If you are using a build tool like webpack, Rollup, or Parcel, check the configuration file and look for any settings related to identifying shadowed project files. You may find plugins or modules that are responsible for this step. Consider disabling or tweaking their settings, if possible, to speed up the loading process.
回答(1 个)
Animesh
2023-5-31
Hello Mahmoud Elzouka,
In MATLAB, if you have a slow project loading issue, specifically during the "Identify Shadowed project files" process, you can disable it using the following steps:
- · Open the MATLAB Preferences dialog by typing "preferences" in the Command Window or selecting Preferences in the MATLAB Home tab.
- · Select the "MATLAB" category in the left pane of the Preferences dialog box.
- · Click on "Project" in the panel inside “MATLAB”.
- · Turn off the checkbox for "Detect project files shadowed by open models" by clicking the corresponding checkbox.
- · Click "Apply" and "OK" to save the changes.
By disabling this option, MATLAB will not identify the shadowed files during the project loading process, which should help to reduce the loading time. However, note that the identification of shadowed functions will also be disabled, which may cause other issues if shadowed files are used in the project.
To read more about shadowed files: - https://www.mathworks.com/help/simulink/ug/general-considerations-when-building-simulink-models.html
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Project Setup 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!