AR# 15190


8.2 System Generator for DSP - An error reports "Undefined function or variable" during generation


In all System Generator versions, up to and including v8.2, the following error occurs during code generation when a variable exists in the "stop time" of the simulation parameters:

"System Generator ERROR

Error during generation: Undefined function or variable."

This error occurs even when the variable or function is correctly declared in the work space.


The System Generator cannot determine the value of variables or functions for the "stop time" of the simulation parameters during code generation. This problem occurs only during code generation and not during simulation. For code generation, the explicit value must be entered into "stop time."

AR# 15190
日期 12/15/2012
状态 Active
Type 综合文章
People Also Viewed