How to speed up Project loading?
23 ビュー (過去 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!