How do I include a camera support package in a MATLAB compiled standalone executable?

I'm trying to create a MATLAB compiled application that uses an Allied Vision GigE camera. My code works fine when running in MATLAB directly, but when I run the compiled standalone executable, the software produces the error: There are no devices installed for the specified ADAPTORNAME when I call
vid = videoinput('gige', 1, 'mono');
How do I add the support package for the camera into the executable?

 채택된 답변

Harsheel
Harsheel 2016년 1월 8일
편집: Harsheel 2016년 1월 8일

댓글 수: 4

That seems like the right answer, but I can't seem to find the suggested support package section within the compiler app. Is it normally hidden?
What release are you using? I suspect you're using a release prior to R2014a because of this note in the Release Notes for MATLAB Compiler in that release.
I upgraded to R2015b and fixed the issue.
Is this an issue with 2019a? I get the same issue as stated in the question.

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

추가 답변 (0개)

질문:

2016년 1월 8일

댓글:

2020년 5월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by