简体   繁体   中英

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

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?

You have to close your matlab or use imaqreset. After that you can run your .exe file. Because only one connection can be occured at the same time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM