USRP B210 Receiver - not possible to use application compiler

1 view (last 30 days)
Jose Domingues
Jose Domingues on 31 Jul 2020
Commented: Jose Domingues on 3 Sep 2020
With the goal to use an USRP B210 as a receiver for LTE waveforms, in order to post-process it, i tried to compile a matlab project using as base the examples provided by Mathworks.
While the code executes without problems and does as expected, and while the application compiler can compile an .EXE file, the resulting .EXE file presents errors when trying to run it:
"The specified superclass 'comm.internal.SDRuBase' contains a parse error, cannot be found on MATLAB's search path, or is
shadowed by another file with the same name."

Answers (1)

Swetha Polemoni
Swetha Polemoni on 7 Aug 2020
The following are two workarounds which you could try:
a) Manually go through the MATLAB search path and remove the paths which have functions conflicting with the in-built MATLAB functions. Execute the following command to get the list of the current search path.
>> path
The following command may help to find the source of the issue:
>> which -all <conflicting_function>
b) If you are unsure of which paths to remove or the above command displays only one line, please restore the MATLAB search path to its factory-installed state by executing the following command
>> restoredefaultpath
Please, notice that the above command may remove the paths that you have previously added to MATLAB search path in order for your scripts to work. So it is advisable to save a backup copy of the current MATLAB search path before running the command.
Please, refer to the following link to backup the current search path:
  2 Comments
Jose Domingues
Jose Domingues on 3 Sep 2020
is it in someway possible to open inside of "comm.SDRuReceiver" in order to try to compile it with application compiler?

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by