Index exceeds array bounds when trying to configure USRP Support Package
5 views (last 30 days)
When trying to configure the "Communications Toolbox Support Package for USRP Radio" (version 18.2.0), an error dialog is displayed with the following message:
Unable to load screen
Details: Index exceeds array bounds.
The error occurs just after clicking next in the "Connect Radio to Ethernet Port" step.
A similliar error occurs also when the manual network configuration option is not selected.
This time, the screen in the error message is:
My system is running Ubuntu 18.04.2 LTS (bionic), 64-bit
dong xuechun on 5 Dec 2020
I am having the same error. Have you found a solution? I am using Ubuntu 16.04 with Matlab R2020a
Thanks in advance.
Stefanie Schwarz on 27 Oct 2021
Edited: Stefanie Schwarz on 27 Oct 2021
We assume that you are receiving this error message while trying to set up the USRP Radio using the Hardware Setup GUI. The error message may be caused by problems with the network interfaces on your PC.
It still should be possible to programmatically set up your radio and achieve expected workflows, assuming the support package was installed correctly. Please reference the following documentation links on steps to get the radio manually working:
(1) To configure the Ethernet interface manually, please follow this link:
(2) After configuring the Ethernet interface, please follow subsequent steps in the above link to verify the hardware connection with the device:
(3) Afterward, please check that the device is properly configured with MATLAB programmatically:
For further assistance with this, please contact MathWorks Technical Support: