InstalledAdaptors does not exist in compiled environment.
3 views (last 30 days)
Show older comments
when creating an exe file from the code bellow I get an error that there is "No Image Acquisition adaptors found "
I'm runing the exe on the same machine I run the code via matlab command line.
t = imaqhwinfo
obj = videoinput(char(t.InstalledAdaptors));
preview(obj)
Matlab comand line works fine and gives
t =
struct with fields:
InstalledAdaptors: {'ni'}
MATLABVersion: '9.7 (R2019b)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '6.1 (R2019b)'
exe can't find the adaptor
0 Comments
Answers (0)
See Also
Categories
Find more on National Instruments Frame Grabbers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!