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?

 Akzeptierte Antwort

Harsheel
Harsheel am 8 Jan. 2016
Bearbeitet: Harsheel am 8 Jan. 2016

4 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by