Error after initializing HDL Coder

4 visualizaciones (últimos 30 días)
Ryan
Ryan el 15 de Abr. de 2014
Comentada: Tim McBrayer el 16 de Abr. de 2014
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 comentarios
Tim McBrayer
Tim McBrayer el 15 de Abr. de 2014
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 el 15 de Abr. de 2014
Thanks Tim. I did mean to say "initializing" not "installing"

Iniciar sesión para comentar.

Respuestas (1)

Tim McBrayer
Tim McBrayer el 15 de Abr. de 2014
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 comentarios
Ryan
Ryan el 15 de Abr. de 2014
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 el 16 de Abr. de 2014
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.

Iniciar sesión para comentar.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by