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,
Internet Explorer 11,
Safari. Thank you!
AR# 67543: Vivado System Generator v2016.2 - Unable to configure and launch Matlab in Ubuntu 14.04 by running the sysgen script.
Vivado System Generator v2016.2 - Unable to configure and launch Matlab in Ubuntu 14.04 by running the sysgen script.
When I run the System Generator for DSP script present in "/opt/Xilinx/Vivado/2016.2/bin", I receive the following messages in the terminal and Matlab does not launch.
cp: cannot stat /usr/local/bin/glnxa64/MATLAB: No such file or directory Configuring MATLAB runtime using Xilinx Supplied .matlab7rc.sh file copied to your home directory /home/nagabhar/.matlab7rc.sh: line 145: /usr/local/bin/util/arch.sh: No such file or directory MATLAB is selecting SOFTWARE OPENGL rendering. ./sysgen: line 495: /home/<user>/.XILINX_MATLAB_RUNTIME/SG_2016.2_local/MATLAB: No such file or directory
This happens when the "which matlab" points to a Matlab script in "/usr/local/bin" instead of the Matlab script present in the "/usr/local/MATLAB/R2015b/bin".
Start a new shell and type "which matlab"
If the prompt returns /usr/local/bin/matlab" then do the following:
Rename the /usr/local/bin/matlab file to something else (for example, matlab_backup)
Make sure that /usr/local/MATLAB/R2015b/bin is in your PATH($PATH). If not, add it to your PATH variable
Now type "which matlab" to make sure its pointing to /usr/local/MATLAB/R2015b/bin /matlab
Launch System Generator for DSP using the sysgen script in the "/opt/Xilinx/Vivado/2016.x/bin"
Matlab should launch as expected.
Was this Answer Record helpful?
System Generator for DSP