cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
oguzhan.cik
Visitor
Visitor
588 Views
Registered: ‎11-04-2019

Model Composer 2020.2 and MATLAB R2020b problem on Ubuntu

Jump to solution

I'm using Vitis 2020.2 installation on Ubuntu 20.04 with Matlab 2020b. When I try to open Model Composer using xmc_sysgen command from terminal, I get the following errors:

/usr/local/MATLAB/R2020b/bin/glnxa64/cef_helper: symbol lookup error: /lib/x86_64-linux-gnu/libgnutls.so.30: undefined symbol: __gmpz_limbs_write
/usr/local/MATLAB/R2020b/bin/glnxa64/cef_helper: symbol lookup error: /lib/x86_64-linux-gnu/libgnutls.so.30: undefined symbol: __gmpz_limbs_write

After getting them Matlab is opened but Simulink window cannot be opened related to this errors. When I try to open Matlab2020b without Xilinx extensions, I don't get this error and simulink is opened succesfully. 

I need a solution for this issue caused by Xilinx extensions.

anydesk00006.png
0 Kudos
Reply
1 Solution

Accepted Solutions
miker
Xilinx Employee
Xilinx Employee
545 Views
Registered: ‎11-30-2007

@oguzhan.cik Please reference the Vivado Design Suite Release Notes, Installation, and Licensing User Guide (UG973; v2020.2) in Table 2: Compatible Third-Party Tools.  MathWorks MATLAB and Simulink versions supported by Vivado/Vitis 2020.2 are R2019a, R2019b, and R2020a.

forums_ds973_2020_2_table2.png

Please Reply, Kudos, and Accept as Solution.

View solution in original post

0 Kudos
Reply
6 Replies
miker
Xilinx Employee
Xilinx Employee
546 Views
Registered: ‎11-30-2007

@oguzhan.cik Please reference the Vivado Design Suite Release Notes, Installation, and Licensing User Guide (UG973; v2020.2) in Table 2: Compatible Third-Party Tools.  MathWorks MATLAB and Simulink versions supported by Vivado/Vitis 2020.2 are R2019a, R2019b, and R2020a.

forums_ds973_2020_2_table2.png

Please Reply, Kudos, and Accept as Solution.

View solution in original post

0 Kudos
Reply
mohammadhgh
Observer
Observer
404 Views
Registered: ‎10-31-2019

@miker Is there inconsistency between UG973  and UG1483, as in UG1483 it indicates that MATLAB R2020b is also supported?

Screenshot from 2021-01-23 17-17-37.png

0 Kudos
Reply
miker
Xilinx Employee
Xilinx Employee
400 Views
Registered: ‎11-30-2007

@mohammadhgh 

Good catch.  There is supposed to be consistency.  I will report the inconsistency and have them correct the documentation.

Please Reply, Kudos, and Accept as Solution.
0 Kudos
Reply
viswanad
Xilinx Employee
Xilinx Employee
338 Views
Registered: ‎05-16-2018

UG973 is already updated to be in sync with the UG1483. It should be out soon with updated MATLAB version support.

mohammadhgh
Observer
Observer
166 Views
Registered: ‎10-31-2019

@miker I tried both MATLAB R2020a and R2020b with Ubuntu 20.04 and still get the same error. When I open a Simulink window, the following error is shown in MATLAB command windows and when the Simulink window is open the header is empty.

Screenshot from 2021-02-18 09-39-16.png

Screenshot from 2021-02-18 09-35-10.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 Kudos
Reply
cgrant
Observer
Observer
91 Views
Registered: ‎04-07-2015

@miker, @viswanad, I am also experiencing what @mohammadhgh is seeing. Matlab 2020b seems to be fine opening windows when opened using the matlab executable, but when I open it using the "sysgen" executable (Vivado 2020.2), I get this error in Matlab:

>> cd(matlabroot)
>> ! bin/glnxa64/MATLABWindow
bin/glnxa64/MATLABWindow: symbol lookup error: /lib/x86_64-linux-gnu/libgnutls.so.30: undefined symbol: __gmpz_limbs_write

Why is GMP missing? Do I need to install GMP separately? 

 

0 Kudos
Reply