Error after initializing HDL Coder

조회 수: 2 (최근 30일)
Ryan
Ryan 2014년 4월 15일
댓글: Tim McBrayer 2014년 4월 16일
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