When I generate a model twice in a row without exiting MATLAB, an internal error occurs and MATLAB must be closed before the design can be generated again.
Why does this happen?
This is a known issue with System Generator version 8.1.01 when running on MATLAB 2006a.
To work around this issue, close and restart MATLAB after a generation, or use MATLAB R14.3. Sometimes, installing ISE 7.1i alongside ISE 8.1i will allow generation to complete as well.
This issue has been fixed in System Generator 8.2 and later.