Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: USRP Code Generation
Replies: 9   Last Post: Feb 6, 2014 12:22 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ethem

Posts: 11
Registered: 1/26/09
Re: USRP Code Generation
Posted: Mar 22, 2013 10:35 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi Yanlei,
Which version of MATLAB do you use?
Regards,
Ethem

"Yanlei Zhang" <lydiazyl@gmail.com> wrote in message <kiha8q$sdn$1@newscl01ah.mathworks.com>...
> Hi,
> I have a question about Code Generation of USRP block in Simulink, called SRDu.
> A Simulink mode composed of QPSK and SDRu transmitter is build, and I want to generate code for the model and run the code in Linux.
> The process of Code Generation has no problem. But when i compile the code in Linux, there is always error about the functions of SRDu (sendData, openDataConnection and closeDataConnection), "undefined reference for ...".
>
> I tried to figure it out. What I find is, these 3 functions are from the usrp_uhd_capi.hpp, and linked to the lib,libmwusrp_uhd_capi.lib. lib is the library format in Windows, but in Linux it doesn't work.
>
> Has some an idea, how can I generate code from SDRu for Linux? Or how can I find the C++ source code for SDRu?
>
> Thank you very much.
> Yanlei




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.