Why do I receive a "xlSimulationRequired" error or "Reference to a cleared variable sysgen_return_status" error when I try to generate the design?
This typically occurs if you use the following MATLAB command in the initialization or simulation start functions:
>> clear all
You can work around this error message by removing the "clear all" command; alternatively, you can use "clear" instead of "clear all".
AR# 21750 | |
---|---|
Date | 12/15/2012 |
Status | Active |
Type | General Article |