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

8.2 System Generator for DSP - Why do I receive "Error evaluating 'OpenFcn' callback of Xilinx Block. Error using ==> xlOpenGui Could not parse XLM file when I try to open a SysGen block on a network installation, or after installing a new version?


When running System Generator on a networked installation, I receive the following error message when trying to open a Register block:

Error evaluating 'OpenFcn' callback of Xilinx Register Block block (mask) 'my_model/Register'.

Error using ==> xlOpenGui

Could not parse XML file


See MATLAB console for more information


This is a known issue with network SysGen installations, or after installing a new version of System Generator for DSP into the same directory as the old version. In the latter case, the problem will appear when you attempt to use the xlVersion command to switch back to using the older version of System Generator for DSP.

Installing A New Version

(In this example we assume that System Generator for DSP 8.2 is the new version and 8.1.01 was the previously installed version.)

1. Use the xlVersion command to ensure that you are using System Generator for DSP 8.1.01.

2. Run the following commands from the MATLAB command prompt:


cd bin

!sysgengui.exe -regserver

Network Installs

You can work around this issue by performing the following command line when launching MATLAB:

%Matlab%\toolbox\xilinx\sysgen\bin\sysgengui.exe -regserver

This needs to be run on every networked machine on which you wish to use System Generator to properly set the registry. This can be added to a MATLAB startup script or to the "startup.m" file.

AR# 23223
Date 12/15/2012
Status Active
Type General Article