Borrar filtros
Borrar filtros

findsdru error using Ubuntu Linux and MATLAB R2011a

2 visualizaciones (últimos 30 días)
Hi!
I've got a problem using the "MATLAB and Simulink Support Package for USRP™ devices 1.0" together with Ubuntu Linux and MATLAB R2011a. Installing the Support Package completed without any error. But when running the "findsdru"-command after setupsdru, I'm getting the following error:
The conversion from a local code page string to unicode changes the number of characters. This is not supported.
Error in ===> usrp_uhd_mapi
The USRP2 is using the correct FPGA image and firmware. The IP-Configuration is also correct. Typing the uhd_find_devices-command in the terminal detects the USRP2 correctly. The behavior is the same with Ubuntu 10.10 (Maverick) and Ubuntu 11.04 (Natty).
I've tried the same using Windows 7, there everything works fine.
Thanks for your help!
Chris

Respuesta aceptada

Mike McLernon
Mike McLernon el 16 de Sept. de 2011
Hi,
You can fix this by launching a Linux command shell and executing:
setenv LANG C, or setenv LANG en_US.ISO8859-1
Either of these commands reset the locale to be compatible with the usrp_uhd_mapi code.
If your OS does not support the 'setenv' command, then try the following:
export LANG=C
hth, Mike

Más respuestas (1)

Christopher
Christopher el 19 de Sept. de 2011
Hi,
The "setenv"-command does not work for my OS.
However, the problem could be solved by using "export LANG=C" before executing MATLAB.
Thanks a lot for your answer!
Chris

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by