When a System Generator model is simulated on Windows Vista or Windows 7* operating systems, it takes much longer to simulate than on Windows XP machines. It appears to hang but will eventually complete.
To resolve this issue, set the environment variable DSP_CACHE_DIR with a value of a path pointing to a hard location without spaces on your machine.
For instance:
DSP_CACHE_DIR = C:/temp/sysgen_cache
After setting the environment variable, close and reopen MATLAB.
To set an environment variable, go to System Properties (right click on My Computer and select Properties).
Go to the Advanced Tab and select Environment Variables.
* - Note that Windows 7 is not officially supported, but this workaround can be used to improve simulation performance.