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?

Search Answers Database


 

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?

AR# 23223
Part SW-SysGen
Last Modified 2006-08-09 00:00:00.0
Status Active
Keywords System Generator, SysGen, MATLAB, network, OpenFcn, xlOpenGui

Description

Keywords: System Generator, SysGen, MATLAB, network, OpenFcn, xlOpenGui

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
register_gui.xml
See MATLAB console for more information

Solution

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(xlFindSysgenRoot)
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.
 
 
/csi/footer.htm