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

2014.1 SysGen - Undefined variable "this" or class "This.GUIClass"


When I open a model and try to customize a Gateway block (or any block), I receive the following error:

Recursion detected in the OpenFcn of 'untitled/Gateway In

Other errors occur as well depending on the block and whether it is a new or existing design.

For example:

Undefined variable "this" or class "this.GUIClass".

The following message was in the Matlab console:

Warning: The following error was caught while executing 'xlSocketServer_impl' class destructor:
Java exception occurred: java.lang.NullPointerExceptionat com.xilinx.sysgen.socketinterface.RawSocketLayer.close(RawSocketLayer.java:133)
  In C:\Xilinx\Vivado\2014.1\scripts\sysgen\matlab\xlSocketServer_impl.p>xlSocketServer_impl.getInstance at 114
  In C:\Xilinx\Vivado\2014.1\scripts\sysgen\matlab\xlSocketServer.p>xlSocketServer.xlSocketServer at 45
  In xlmeta_start>loadServers at 38
  In xlmeta_start at 20
  In c:\matlab\R2013b_x64\toolbox\simulink\simulink\private\lb_getChildrenHandles.p>loc_getBlocksOneLevel at 39
  In c:\matlab\R2013b_x64\toolbox\simulink\simulink\private\lb_getChildrenHandles.p>lb_getChildrenHandles at 26
  In slprivate at 12 

What is the cause of these errors?


This is a known issue discovered in 2014.1(Windows) when the model and Matlab workspace are set to an unmapped network location.

For example:


You can work around the issue by mapping the network location to a drive letter and using it instead.

You could map '\\my_server' in the example above to Z:, and then point the Matlab workspace to the following:


AR# 62547
Date Created 10/20/2014
Last Updated 11/27/2015
Status Active
Type General Article
  • System Generator for DSP
  • Vivado Design Suite - 2014.1
  • Vivado Design Suite - 2014.2
  • Vivado Design Suite - 2014.3