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

1.1 System Generator - "System Generator ERROR. Error during generation: Error using ==> sim..."

Description

Keywords: SysGen, MathWorks, Simulink, MATLAB

Urgency: Standard.

General Description:
When MATLAB Release 12.1 and System Generator 1.1 are used, the following types of errors may be reported during the simulation or generation in Simulink:

"System Generator ERROR

Error during generation: Error using ==> sim
-->Error reported by S-function 'xlfir' in block 'fir/FIR':

"Error reported by S-function '<function_name>' in block
'<file_name.mdl /Block_name>':

Since it is possible that the internal error resulted from an unhandled user error, it is also a good idea to double-check the usage and parameterization of the block that is reporting this error."

"--> Error reported by S-function 'xlfir' in block 'fir/FIR1':

An Internal Error occurred in the Xilinx Blockset Library.

For help resolving this error, please consult the Answers Database and other online resources at http://support.xilinx.com."

Since it is possible that the internal error resulted from an unhandled user error, it is also a good idea to double-check the usage and parameterization of the block reporting this error."

Solution

The MathWorks MATLAB Release R12.1 is not compatible with System Generator 1.1

MathWorks made infrastructure changes between MathWorks R12 (MATLAB 6/Simulink 4) and MathWorks R12.1 (MATLAB 6.1/Simulink 4.1); unfortunately, these changes break the System Generator libraries and models. Consequently, System Generator users should not install MathWorks R12.1. The preferred version remains MathWorks R12 (MATLAB 6.0/Simulink 4.0), although System Generator 1.1 will also run with MATLAB R11.1/Simulink 3.0.

Xilinx System Generator v1.2 (released in November, 2001) is compatible with MathWorks R12.1.
AR# 11965
Date Created 07/17/2001
Last Updated 06/22/2004
Status Archive
Type General Article