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# 31736 System Generator for DSP - When I simulate my model, I receive the warning: Undefined variable "com" or class "com.xilinx.sysgen.XFixJavaLoader.setClassLoader". Why?


When I simulate my model, why do I receive the following warning?

Undefined variable "com" or class "com.xilinx.sysgen.XFixJavaLoader.setClassLoader"


This could be caused by the com server not being registered for the program.

Before you start, try to run the MATLAB chooser program from the Start menu under Xilinx ISE Design Suite 10.1 > DSP_Tools. If this does not work, try registering the com server by following these steps:

1. With MATLAB closed, launch the task manager to ensure that the "sysgengui10_1_2.exe" executable is not running.

2. Open a DOS cmd shell.

3. First, CD into the System Generator install "\bin" directory located here:

%XILINX INSTALL DIR%\DSP_Tools\sysgen\bin\

Next, run the command sysgengui10_1_2.exe -regserver

4. Close the DOS shell.

5. Reboot the machine.

6. Launch MATLAB and check if System Generator blocks can be used.

If there is still an issue, please open a WebCase:


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