UPGRADE YOUR BROWSER

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# 21750

11.3 System Generator for DSP - Why do I receive a "xlSimulationRequired" or "Reference to a cleared variable sysgen_return_status" error when I try to generate the design?

Description

Why do I receive a "xlSimulationRequired" error or "Reference to a cleared variable sysgen_return_status" error when I try to generate the design?

Solution

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 Created 02/17/2009
Last Updated 12/15/2012
Status Active
Type General Article