hdlsetuptoolpath takes no effect on Windows

15 views (last 30 days)
legendbb on 20 Aug 2012
Commented: AMAL NN on 19 Apr 2021
Playing with FIL demo. Tested both x32 and x64 on XP and Win7.
>> hdlsetuptoolpath('ToolName','Xilinx ISE','ToolPath','C:\Xilinx\13.1\ISE_DS\ISE\bin\nt\ise.exe')
Setting XILINX environment variable to:
Prepending following Xilinx ISE path(s) to the system path:
>> which ise
'ise' not found.
Can only get FIL work by having 'C:\Xilinx\13.1\ISE_DS\ISE\bin\nt\' in system path before launching Matlab which means hdlsetuptoolpath doesn't take any effect. Or doesn't have the permission to change system path.
After calling hdlsetuptoolpath, >>path
doesn't print any appended path nor in system path.
Is it a bug or something weird on my setup?

Answers (1)

Tim McBrayer
Tim McBrayer on 20 Aug 2012
Edited: Tim McBrayer on 20 Aug 2012
The hdlsetuptoolpath command does not modify the MATLAB path; it modifies the system path, and only inside the MATLAB session that the command has been executed in, for the duration of that session. The easiest way to verify that your Xilinx install has been added to your MATLAB session's system path is to run:
>> !which ise
After you run hdlsetuptoolpath, this should return the above response. If the tool path is not set up properly, the !which system command will return nothing.
Another way to verify the path is set correctly is to examine the synthesis settings in the HDL Workflow Advisor. That tool will only show the synthesis tools that are available on the system path.
AMAL NN on 19 Apr 2021
I have setup hdlsetuptoolpath
hdlsetuptoolpath('ToolName', 'Xilinx ISE', 'ToolPath', 'C:\Xilinx\14.7\ISE_DS\ISE\bin\nt64\ise.exe');
and "!which ISE" command is giving the response.
But while building in FIL wizard it is showing the following error message
Error: Xilinx Vivado is not on system path. Use function "hdlsetuptoolpath" to configure Vivado for use with MATLAB
How to fix this?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!