We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 37984

12.x, 13.x System Generator for DSP - I have a corrupted MDL design file. How do I clear the cache for System Generator?


I have a corrupted MDL design file. How doI clear the cache for System Generator?


Clearing the cache can help resolve issues you might be experiencing with System Generator projects (e.g., MDL design files).

To clear the cache, perform the following:

  1. At the xFrom MATLAB prompt, run "[core, sg, usertemp] = XLCACHE('getpath')" to get the locations of the three caches associated with System Generator.
    Example Result:
    core = C:\Documents and Settings\ambrosef\Application Data\Xilinx\Sysgen\sg_core_cache
    sg = C:\Documents and Settings\ambrosef\Application Data\Xilinx\Sysgen\nt\cache5
    Usertemp = C:/TEMP/sysgentmp-ambrosef
  2. To clear all three locations, run "xlcache('clearall').
  3. Other useful commands associated with the xlcache can be found by running, "xlcache" from the MATLAB command prompt.
AR# 37984
Date Created 06/01/2011
Last Updated 12/15/2012
Status Active
Type General Article
  • System Generator for DSP - 12.1
  • System Generator for DSP - 12.2
  • System Generator for DSP - 12.3