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?

描述

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
日期 12/15/2012
状态 Active
Type 综合文章