compiler not packaging os generic video interface

4 次查看(过去 30 天)
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

回答(1 个)

Sanchari
Sanchari 2024-7-17
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!

Community Treasure Hunt

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

Start Hunting!

Translated by