"Invalid MEX-file" error while setup of "Communications Toolbox Support Package for USRP Radio" Add-on

25 visualizaciones (últimos 30 días)
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.":
Error
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:
findsdru
By using "Dependency walker" I see no significant information:
dependency walker
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 comentarios
Walter Roberson
Walter Roberson el 1 de Ag. de 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 .
Nik Rocky
Nik Rocky el 2 de Ag. de 2022
Hello Walter,
thank you for your answer. I have already installed all MVCR (via chokolatey):
But it not helps =(

Iniciar sesión para comentar.

Respuesta aceptada

Nik Rocky
Nik Rocky el 10 de Ag. de 2022
Editada: Nik Rocky el 10 de Ag. de 2022
Hello, I solve a Problem.
Uninstall UHD package
Open Dependency Walker inside of MATLAB: ! D:\path\to\dependencywalker\depends.exe and look for dependence of error MEX File (in my case usrp_interface_mex.mexw64)
Bow for dlls what are missed, specially for path of them. Lot of DLL was missing in folder system32, SysWOW64, C:\ProgramData\MATLAB\SupportPackages... sometime you just have to copy from System 32 to SupportPackages... or reverse.
You can also install MATLAB and Add-on on different PCs and if the package works on another one – you can compare dependencies on working PC and fault PC (with WinMerge ex.).
Good luck!
  1 comentario
evelyn
evelyn el 9 de Nov. de 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:

Iniciar sesión para comentar.

Más respuestas (2)

bowie wang
bowie wang el 12 de Ag. de 2022
Editada: bowie wang el 29 de Ag. de 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!!

Weixi Xiong
Weixi Xiong el 28 de Jul. de 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!

Categorías

Más información sobre Communications Toolbox en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by