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!

Page Bookmarked

AR# 34303

Why do I receive an OpenFcn error when trying to access the Sysgen?


This is a known issue withSysGen installations, or after installing a new version of System Generator for DSP into the same directory as the old version. The issue also seen while updating ISE with a Service Pack.

Case: 1

Why doI receive Error Evaluating "OpenFcn" callback for all Xilinx block sets?

Error using==> xlCOMServer at13. Unable to start COM
server 'sysgengui10_1.XBlockGUI'.
sysgengui10_1.exe is missing from the DSP_Tools\bin folders.

This occured when installing version 10.1; the previous version was 9.2i.

Case: 2

An OpenFcn error occurs when trying to access the Sysgen Token for a previously working design. This can occur using ISE software 11.3, then movingto 11.4, which can resultin installation errors. Uninstalling 11.4 and reverting back to 11.3 can result in an OpenFcn error.
Also, when selecting any other Xilinx block in Sysgen, an error message can occur reporting that a block is trying to reference a cleared variable "sysgenguivars".

Uninstalling 11.3 and re-installing it can result in the same issue and prevent use ot the Sysgen installation.

Exact Error Message:
Error evaluating 'OpenFcn' callback of Xilinx System Generator Block block (mask) 'fpga_fw_locator/System Generator'. Undefined function or method 'xlMapFamily' for input arguments of type 'char'.
Case: 3

Getting anOpenFcn error when trying to access the HW-CoSim block on Linux.

Error Message:
Error while building gui from XML file "jtag\jtagcosim_gui.xml": XML file "jtag\jtagcosim_gui.xml" could not be found. Check the OpenFcn on the block to verify that the file name is correct. Check the Sysgen installation to verify that the GUI XML files are present in the correct location.



Solution 1: Set environment Variable for sysgen and all compatible software

Solution2: Run this command onMatlab Command window.


Solution 3:Sometimes installation may be corrupted and antivirus software may be the cause. Ifyou install Sysgen and other compatible software with antivirus on your system, then itcan quarantine an installation file.

Need to follow following steps to solve this issue
  • Disable all antivirus software
  • Uninstall ISE/Sysgen
  • Uninstall Matlab
  • Install ISE/Sygen again
  • Install Matlab again
  • Link Sysgen to this Matlab
Solution 4: If workspace variables were created in a previous version of the tools and then imported into a newer version, this has been known to cause problems as the xlSgRoot variable does not get updated. Recreating the workspace variables should remove the error.

Solution 5:
xlOpenGui(gcbh, 'jtag/jtagcosim_gui.xml', @xlJTAGGuiEnablement, @xlJTAGGuiAction)

AR# 34303
Date 05/19/2012
Status Active
Type Known Issues
  • ISE - 10.1
  • ISE Design Suite - 11.1
  • ISE Design Suite - 11.2
  • More
  • ISE Design Suite - 11.3
  • ISE Design Suite - 11.4
  • Less