"Invalid MEX-file" error while setup of "Communications Toolbox Support Package for USRP Radio" Add-on
23 views (last 30 days)
Show older comments
Hello all,
I want to use my Ettus research USRP B210 with Communications Toolbox Support Package for USRP Radio Addon.
While setup and tap "Test radio connection" window, I get error:
"Unable to load screen sdru.internal.hwsetup.screen.TestRadioConection
Details: Invalid MEX-file
'C:\ProgramData\MATLAB\SupportPackages\R2022a\toolbox\shared\sdr\sdru\sdrumex\usrp_interface_mex.mexw64': The specified procedure could not be found.":
I already reinstall MATLAB and USRP-Addon lot of times. Install the latest (all) visual C++ redistributable.
"usrp_interface_mex.mexw64" file exists and is in the right location.
By entering “setupsdru” nothing happens.
By entering "findsdru" come the same error:
By using "Dependency walker" I see no significant information:
How can I solve it?
Thank you very much in advice!
Best regards,
Nik
Device configuration:
Device name PC2
Processor Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz 2.60 GHz
Installed RAM 16,0 GB (15,9 GB usable)
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Windows configuration:
Edition Windows 11 Pro
Version 21H2
Installed on 26/04/2022
OS build 22000.795
Experience Windows Feature Experience Pack 1000.22000.795.0
MATLAB configuration:
MATLAB Version: 9.12.0.1975300 (R2022a) Update 3
MATLAB License Number: 1108101
Operating System: Microsoft Windows 11 Pro Version 10.0 (Build 22000)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.12 (R2022a)
Simulink Version 10.5 (R2022a)
5G Toolbox Version 2.4 (R2022a)
Audio Toolbox Version 3.2 (R2022a)
Communications Toolbox Version 7.7 (R2022a)
DSP HDL Toolbox Version 1.0 (R2022a)
DSP System Toolbox Version 9.14 (R2022a)
Deep Learning Toolbox Version 14.4 (R2022a)
Fixed-Point Designer Version 7.4 (R2022a)
LTE Toolbox Version 3.7 (R2022a)
MATLAB Coder Version 5.4 (R2022a)
MATLAB Compiler Version 8.4 (R2022a)
Navigation Toolbox Version 2.2 (R2022a)
Phased Array System Toolbox Version 4.7 (R2022a)
RF Blockset Version 8.3 (R2022a)
RF PCB Toolbox Version 1.1 (R2022a)
RF Toolbox Version 4.3 (R2022a)
Radar Toolbox Version 1.2 (R2022a)
Signal Processing Toolbox Version 9.0 (R2022a)
Statistics and Machine Learning Toolbox Version 12.3 (R2022a)
UAV Toolbox Version 1.3 (R2022a)
WLAN Toolbox Version 3.4 (R2022a)
Wireless HDL Toolbox Version 2.4 (R2022a)
Wireless Testbench Version 1.0 (R2022a)
2 Comments
Walter Roberson
on 1 Aug 2022
you might have to install the Microsoft Visual Studio Runtime Redistributable .
In some cases you need to go back to an older redistributable as well .
Accepted Answer
Nik Rocky
on 10 Aug 2022
Edited: Nik Rocky
on 10 Aug 2022
1 Comment
evelyn
on 9 Nov 2023
hi! I have the same problem. I use Matlab 2023a.
Do you mean that I do not need to install UHD on PC?
Do I need to install Labview?
I use Dependency Walker open error MEX File (in my case usrp_interface_mex.mexw64) and it shows below:
More Answers (2)
bowie wang
on 12 Aug 2022
Edited: bowie wang
on 29 Aug 2022
Hello there,
I have the same issue with yours. But, after I update all the required toolboxs of Communications Toolbox for USRP Radio, i.e.,
Communication Toolbox, DSP System Toolbox and Signal Processing Toolbox,
some missing APIs are installed back to MATLAB/R2021b/bin/win64, and the problem no longer exist.
Anyway, I really appreciate your effort, it really helps a lot, Thanks!!
0 Comments
Weixi Xiong
on 28 Jul 2022
I have this problem as well when using MATLAB R2021b. But problem solved when I switched to MATLAB R2021a.
Hopefully this could work for you as well!
See Also
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!