cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
opal-rt_fpga_grp
Adventurer
Adventurer
428 Views
Registered: ‎03-30-2012

XSG - Vivado 2020.1 / Matlab 2020a Update6 - Error evaluating 'OpenFcn' callback of Xilinx Register Block block (mask)

Hi,

After having updated Matlab 2020a to Update 6, when a I double-click on basic elements such register (or constant), I received a message error without being capable to set a value.

How to resolve this?

-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.8.0.1538580 (R2020a) Update 6
MATLAB License Number: 528812
Operating System: Microsoft Windows 10 Pro Version 10.0 (Build 18362)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.8 (R2020a)
Simulink Version 10.1 (R2020a)

>> xilinx.environment.getversion('sysgen')

ans =

'2020.1'

 

Best regards,

 

Richard

 

0 Kudos
Reply
5 Replies
opal-rt_fpga_grp
Adventurer
Adventurer
375 Views
Registered: ‎03-30-2012

Even if with the Xilinx token / Xilinx System Generator block! Not able to open the GUI interface! Quite a worrying situation, could you help me on this?

0 Kudos
Reply
viswanad
Xilinx Employee
Xilinx Employee
231 Views
Registered: ‎05-16-2018

Are you getting any error as shown below after adding XSG block into canvas?

viswanad_0-1613034407762.png

If so, can you please make sure you are invoking System generator tool and not Matlab/Simulink directly. I know its a basic thing and user in general don't do such things. But, just to rule out that is not the case from your end.

 

0 Kudos
Reply
opal-rt_fpga_grp
Adventurer
Adventurer
181 Views
Registered: ‎03-30-2012

Absolutely not! The XSG environment is set correctly:

2021_02_18_12_45_59_simple_register_Xilinx_XSG_block.png

All you have to do to reproduce is to use Vivad0 2020.1/Matlab 2020a, create a Simulink blanl model, add the XSG block (or simple register block) and double-click on it.

 

 

0 Kudos
Reply
ravidapu
Xilinx Employee
Xilinx Employee
137 Views
Registered: ‎12-14-2017

Hi,

Is the issue only after update6 installation ? was is working before this update with R2020a ? Would you please confirm ? This info will be helpful for us to debug further

Regards,

Raju A.

 

0 Kudos
Reply
vkanchan
Xilinx Employee
Xilinx Employee
65 Views
Registered: ‎09-18-2018

Hi @opal-rt_fpga_grp ,

These steps have helped resolved the issue 

  • Run MATLAB configurator for Sysgen in administrator mode
  • Clear the MATLAB configuration
  • Re-launch the MATLAB configurator tool again in admin mode
  • Configure the MATLAB version R2020a
  • Launch Sysgen
0 Kudos
Reply