cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
oguzhan.cik
Visitor
Visitor
1,524 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
1 Solution

Accepted Solutions
miker
Xilinx Employee
Xilinx Employee
1,481 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

11 Replies
miker
Xilinx Employee
Xilinx Employee
1,482 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

mohammadhgh
Observer
Observer
1,340 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
miker
Xilinx Employee
Xilinx Employee
1,336 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
viswanad
Xilinx Employee
Xilinx Employee
1,274 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
1,102 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
cgrant
Observer
Observer
1,027 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
kbandura
Visitor
Visitor
842 Views
Registered: ‎07-19-2013

I have the same trouble.  Things 'run', but I cannot open a Xilinx block in simulink.

0 Kudos
647 Views
Registered: ‎04-15-2021

Hi, I have that problem and was solved just cleanen de cache of google chrome in /home/$USER/.cache/.google-chrome/

 

But now I have the same problem as mohammadhgh @mohammadhgh , @cgrant and @kbandura ,

 

 

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

 

 

I run sysgen with Vivado 2019.2 and MATLAB 2019.b on Ubuntu 20.04.01

Linux graslilie 5.8.0-49-generic #55~20.04.1-Ubuntu SMP Fri Mar 26 01:01:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

0 Kudos
canisio
Visitor
Visitor
242 Views
Registered: ‎06-01-2021

Hello @miker 

This solution is not working. I've tried with Matlab 2020a and 2020b and I'm getting the exact same error described by @mohammadhgh  and @oguzhan.cik 

I'm using Ubuntu 20.04 LTS, Matlab 2020a and Vivado 2020.2. What I'm missing?

0 Kudos
kbandura
Visitor
Visitor
238 Views
Registered: ‎07-19-2013

What actually worked for me was to install the KDE desktop environment.  I believe I followed this:  https://itsfoss.com/install-kde-on-ubuntu/

Everything then worked for me on the KDE desktop, or standard Ubuntu Desktop.

0 Kudos
canisio
Visitor
Visitor
214 Views
Registered: ‎06-01-2021

Just tried KDE and the errors are exactly the same. It did not work. Thanks anyways.

I'll wait to see what's Xilinx position...

0 Kudos