How to speed up Project loading?

25 Ansichten (letzte 30 Tage)
Mahmoud Elzouka
Mahmoud Elzouka am 20 Okt. 2022
Kommentiert: Nathaniel am 31 Mai 2023
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 Kommentar
Nathaniel
Nathaniel am 31 Mai 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Animesh
Animesh am 31 Mai 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:
  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.

Kategorien

Mehr zu Project Setup finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by