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 日

0 投票

4 件のコメント

hollingswood
hollingswood 2016 年 1 月 8 日
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?
Steven Lord
Steven Lord 2016 年 1 月 8 日
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.
hollingswood
hollingswood 2016 年 1 月 13 日
I upgraded to R2015b and fixed the issue.
Evan Bates
Evan Bates 2020 年 5 月 28 日
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