Java .dll library path issues

조회 수: 3 (최근 30일)
Sean
Sean 2011년 9월 19일
I am trying to use a java archive(.jar) which makes use of a number of external .dlls to control a PCI video framegrabber card. I know the card is installed correctly, because non-matlab software has used the same .jar and .dlls successfully. However, I am trying to integrate the image acqusition with matlab code that analyzes and reports on the data (without great success).
I can confirm that matlab is talking to the .jar, because it successfully generates the top level object used by the interface.
When I try to use the methods to go further, I get an error claiming that the relevant .dll(s) cannot be found. I have tried adding C:/ATP/bin (the path of the appropriate .dlls) to C:\Program Files\MATLAB\R2011b\toolbox\local\librarypath.txt, but the .dll is still not found.
What additional steps may be necessary to ensure that matlab can find my .dlls?
Thanks in advance.
  댓글 수: 2
Kaustubha Govind
Kaustubha Govind 2011년 9월 19일
Try adding the path to the DLLs to the system PATH variable and restart MATLAB.
the cyclist
the cyclist 2011년 9월 19일
Kaustubha, you may want to recast this comment as an answer, so that it can be accepted if Sean wants.

댓글을 달려면 로그인하십시오.

채택된 답변

Kaustubha Govind
Kaustubha Govind 2011년 9월 28일
Try adding the path to the DLLs to the system PATH variable and restart MATLAB.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Java Package Integration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by