How setup Xilinx System Generator in Matlab

Hi, I am using the Simulink and Xilinx System Generator for DSP. Every time I generate VHDL code in System Generator token it shows Fatal error of gateway in. Even I launched Matlab from System Generator. My question is how we know Matlab is pointing to the directory of ISE Xilinx?

 Accepted Answer

Kaustubha Govind
Kaustubha Govind on 13 Aug 2013
Moved: Stefanie Schwarz on 26 Jul 2023
You might have better luck with this question on Xilinx Support forums, since System Generator is a Xilinx product.

3 Comments

Yes, I do asked Xilinx https://support.xilinx.com/s/feed/0D52E00007HjcLfSAJ . But I follow their advices and wont success.
I am not sure this is belonging to Xilinx or Matlab. I install a new ISE for system generator and it still get the same problem. Is there anyone get this situation before?.
Follow the guide http://www.xilinx.com/support/answers/44617.htm . It said : There is a problem with the way MATLAB was invoked
Open up the System Generator via the sysgen token.
Ensure that the XILINX environment variable is set and that the PATH includes $XILINX/bin/nt; $XILINX/lib/nt before launching MATLAB.
There is an issue with M-Code processing.
Check that the "$TEMP" environment variable is accessible and that the temp directory is not full.
SO how can we setup matlab to be involved with Xilinx? What is issue with M-code above?
Thanks
What is your TEMP environment variable set to? Perhaps it is full and you need to clear that directory as the error suggests?
In environment variable of window, user varibal TEMP/TMP is in %USERPROFILE%\AppData\Local\Temp and system variable TEMP/TMP is c:\window\TEMP. I delete manual in %USERPROFILE%\AppData\Local\Temp and disk clean TEMP in window. The error still the same. Do you know what proper way to clear TEMP . Thanks

Sign in to comment.

More Answers (1)

saman
saman on 24 Apr 2014
i have same problem and non of xilinx or avnet company didn't help me

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!