How to speed up Project loading?

13 次查看(过去 30 天)
Mahmoud Elzouka
Mahmoud Elzouka 2022-10-20
评论: Nathaniel 2023-5-31
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
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
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:
  1. · Open the MATLAB Preferences dialog by typing "preferences" in the Command Window or selecting Preferences in the MATLAB Home tab.
  2. · Select the "MATLAB" category in the left pane of the Preferences dialog box.
  3. · Click on "Project" in the panel inside “MATLAB”.
  4. · Turn off the checkbox for "Detect project files shadowed by open models" by clicking the corresponding checkbox.
  5. · 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.

类别

Help CenterFile Exchange 中查找有关 Project File Management 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by