compiler not packaging os generic video interface

I have written a Matlab GUI based application that uses a USB video camera to acquire live images and it requires Image Acquisition Toolbox Support Package OS Generic Video Interface. I know it requires this because the code throws an error if that is not installed and tells me I need to install it. When I attempt to compile this application, I get a warning in the compiler log file that indicates that the OS Generic Video Interface package is excluded:
'..... \OSGenericVideoInterface.m", "matlabshared.supportpkg.internal.sppkglegacy.SupportPackageRegistryPluginBase" are excluded from packaging for the MATLAB Runtime environment according to the MATLAB Compiler license'.
How is one supposed to provide an executable with a live video image if the OS generic Video Interface package is excluded?
I could compile and deliver an executable with live video in previous versions of Matlab (2019b, for example). Why is this now not allowed?
I am using Matlab 2020b with Image Processing toolbox.
Thanks.
AG

2 Comments

Hi, I am having the same problem. Was it solved?
I'm also interested if you solved this issue.

Sign in to comment.

Answers (1)

Hello AG,
The issue encountered is due to the changes in the licensing and packaging policies for MATLAB Compiler and the Image Acquisition Toolbox in recent versions of MATLAB. The 'OSGenericVideoInterface' package is not included in the MATLAB Runtime environment.
Hope this helps!

Products

Release

R2020b

Asked:

AG
on 26 Oct 2020

Answered:

on 17 Jul 2024

Community Treasure Hunt

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

Start Hunting!