Error after initializing HDL Coder

3 次查看(过去 30 天)
Ryan
Ryan 2014-4-15
After initializing HDL coder with the following line:
hdlsetuptoolpath('ToolName','Xilinx ISE', 'ToolPath', 'C:\Xilinx\13.2\ISE_DS\ISE\bin\nt\ise.exe')
Whenever I right click now in Simulink, I get the following error messages:
No appropriate method, property, or field mouseClickPosition for class SLM3I.CallbackInfo.
Error in C:\Xilinx\13.2\ISE_DS\ISE\sysgen\bin\nt64\xlContextMenuUtils.p>extractSysAndMouseInfo (line 635)
Error in C:\Xilinx\13.2\ISE_DS\ISE\sysgen\bin\nt64\xlContextMenuUtils.p>makeHashforCallbackInfo (line 47)
Error in C:\Xilinx\13.2\ISE_DS\ISE\sysgen\bin\nt64\xlContextMenuUtils.p>getClickInfo (line 77)
Error in C:\Xilinx\13.2\ISE_DS\ISE\sysgen\bin\nt64\xlContextMenuUtils.p>xlContextMenuUtils (line 2)
Error in C:\Xilinx\13.2\ISE_DS\ISE\sysgen\bin\nt64\sl_customization.p>blockConnectMenu (line 63)
Warning: Schema generator function did not return a DAStudio.ToolSchema.
  2 个评论
Tim McBrayer
Tim McBrayer 2014-4-15
A clarification: your command does not install HDL Coder. It adds the specified path to Xilinx ISE to the system path inside MATLAB.
Ryan
Ryan 2014-4-15
Thanks Tim. I did mean to say "initializing" not "installing"

请先登录,再进行评论。

回答(1 个)

Tim McBrayer
Tim McBrayer 2014-4-15
Try setting the path to ISE in your Windows environment before starting MATLAB. Your command is only trying to get access to ISE; if it's available by default you don't need to run the hdlsetuptoolpath command.
  2 个评论
Ryan
Ryan 2014-4-15
Per your recommendation I added an environmental variable for ISE called "ISE" with the path to the .exe, and then added its subfolder to my path variable just for good measure. If this is what you meant, it didn't solve the issue. I'm confused why, when I give it the 32-bit path C:\Xilinx\13.2\ISE_DS\ISE\sysgen\bin\nt, the errors are from the 64-bit folder \nt64.
Tim McBrayer
Tim McBrayer 2014-4-16
Xilinx has specific directions on how to add their tool to your Windows system path. Whatever they are, you will need to follow. I am guessing that you may have to update the PATH variable in addition to the ISE variable. Once you can run ISE successfully from the command line, MATLAB should inherit and use that same setup.

请先登录,再进行评论。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by