MATLAB: Am I receiving an “(Error : Failed to locate resources)” when installing the Beagle bone support package

MATLAB

When Installing the Embedded Coder Support Package for BeagleBone Black hardware I receiving the following error message: 
 
(Error : Failed to locate resources)

Best Answer

The newest BBB rev C boards come with a Debian image dated 2015-03-01. In this Linux image, Linux package indexes has been deleted. Therefore, targetupdater cannot install required Linux packages.
To re-create the Linux package index:
1. Connect your BeagleBone Black to Internet. This can be done by either connecting the board to a LAN network / router using the Ethernet port on the board or enabling "Internet connection sharing" on a Windows computer.
2. Login to BeagleBone Black using PuTTY and execute "sudo apt-get update" command. This command re-creates the package index that was missing on the original Debian image.
You can then start "targetupdater" in MATLAB and proceed with updating the Linux image