MATLAB Answers

Install video adapters in R2014b on Ubuntu 14.04 64bit system

1 view (last 30 days)
Giorgos Papakonstantinou
Giorgos Papakonstantinou on 20 Dec 2014
Commented: R. on 31 Dec 2014
I have a Ubuntu 14.04 64bit system on which I have installed R2014b. With previous versions of the Image Acquisition Toolbox, the files for all of the adaptors were included in the installation. Starting with version R2014a, each adaptor is available separately through the Support Package Installer.
When I issue the command imaqhwinfo, I get the message No Image Acquisition adaptors found.
imaqhwinfo
Warning: No Image Acquisition adaptors found. Image acquisition adaptors may be available as downloadable support packages. Open Support Package Installer to install additional vendors.
I have opened Support Package Installer and I installed the OS Generic Video Interface in the /home/user/Documents/MATLAB/SupportPackages/R2014b folder.
When I installed it I got the following Warning:
Warning: Unable to save path to "/usr/local/MATLAB/R2014b/toolbox/local/pathdef.m".
MATLAB may not have write access to the folder. Possible fix:
1) Use SAVEPATH with an input argument to save path to a temporary file
2) Exit from MATLAB
3) Copy temporary file to MATLABROOT/toolbox/local/pathdef.m
4) Restart MATLAB and verify that support package folders are on the MATLAB path
> In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/RegistryUtils.p>RegistryUtils.savePath at 36
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/PackageInstaller.p>PackageInstaller.install at 1120
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/PackageInstaller.p>PackageInstaller.installRecursiveImp at 655
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/PackageInstaller.p>PackageInstaller.installRecursive at 473
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/+internal/executeConfirm.p>installFromFolder at 278
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/+internal/executeConfirm.p>performThreadedDownload at 188
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/+internal/executeConfirm.p>installFromInternet at 300
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/+internal/executeConfirm.p>installWorkflow at 210
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/+internal/executeConfirm.p>executeConfirm at 68
In /usr/local/MATLAB/R2014b/toolbox/shared/hwconnectinstaller/+hwconnectinstaller/Step.p>Step.next at 169
Still No adaptors are found. Probably I haven't installed the adaptors correctly or in the correct path or as the message as suggests the path is not saved. Do you know the cause and the solution to this problem?
I must also add that I have tested my camera on my system and it works fine.
Thank you very much.
  1 Comment
R.
R. on 31 Dec 2014
Giorgos,
Make /usr/local/MATLAB/R2014b/toolbox/local/pathdef.m world writable by executing "sudo chmod a+w /usr/local/MATLAB/R2014b/toolbox/local/pathdef.m", then go through the Support Package Installer process again.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!