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

2013.1 Vivado Sysgen - Java exception occurred and reported when running xlDiagnosticInfo from the Matlab console


I ran xlDiagnosticInfo from the Matlab console in Vivado System Generator 2013.1, but when I reviewed the xilinx_diag_output.txt file created, I see the following unexpected java exception:

TEMPDIR = Error using xlDiagnosticInfo (line 188)
Java exception occurred:
java.lang.UnsatisfiedLinkError: com.xilinx.sysgen.util.EnvironmentUtil.getTempDir()Ljava/lang/String;
                at com.xilinx.sysgen.util.EnvironmentUtil.getTempDir(Native Method)
USERTEMPDIR = Error using xlDiagnosticInfo (line 195)
Java exception occurred:
java.lang.UnsatisfiedLinkError: com.xilinx.sysgen.util.EnvironmentUtil.getUserTempDir()Ljava/lang/String;
                at com.xilinx.sysgen.util.EnvironmentUtil.getUserTempDir(Native Method)
Cache Root Dir = Error using xlDiagnosticInfo (line 202)
Java exception occurred:
java.lang.UnsatisfiedLinkError: com.xilinx.sysgen.util.EnvironmentUtil.getCacheRootPath()Ljava/lang/String;
                at com.xilinx.sysgen.util.EnvironmentUtil.getCacheRootPath(Native Method)


This is a known issue in Vivado Sysgen 2013.1. The reason that an exception was thrown here is because the environment was not initialized correctly. This ONLY happens when a user launches System Generator and types xlDiagnosticInfo immediately into the Matlab console.

To work around or avoid the issue, there are two options:

  1. Open an MDL, then everything will get initialized and it is safe to run xlDiagnosticInfo
  2. Launch System Generator from the Start menu, type xlmeta in the Matlab console, then type xlDiagnosticInfo


In both of the above cases no java exception should occur. This issue has been fixed in 2013.2.

AR# 56503
Date Created 06/20/2013
Last Updated 06/21/2013
Status Active
Type General Article
  • Vivado Design Suite - 2013.1