When your MATLAB code uses files from a hardware support package (such as Matrox support package in Image Acquisition Toolbox R2014a) you have to add the files from the support package installation folder (for example 'C:\MATLAB\SupportPackages\R2014a\matrox')
>> mcc -m -v video1.m -a c:\dcf\camera1.dcf -a C:\MATLAB\SupportPackages\R2014a\matrox
Alternatively, you can use DEPLOYTOOL to compile the standalone application: as of MATLAB R2014a, the support packages' locations are detected and selected to be added automatically to the package.
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Explore similar technical troubleshooting questions and verified MATLAB solutions: