How to speed up Project loading?
17 views (last 30 days)
Show older comments
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 Comment
Nathaniel
on 31 May 2023
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.
Answers (1)
Animesh
on 31 May 2023
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 Comments
See Also
Categories
Find more on Project Setup in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!