描述
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:
- 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 - To clear all three locations, run "xlcache('clearall').
- Other useful commands associated with the xlcache can be found by running, "xlcache" from the MATLAB command prompt.