Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHi all,
I'd like to call UHD's C API from Matlab.
There seems to be a conflict with Matlab's boost and the system's boost that UHD is usually build against.
Did anybody solve this already, maybe even with a PyBOMBS recipe? I'd appreciate if you could share your experience.
Our attempt is to get the headers of Matlab's boost version from the boost website, and build against those headers in a separate PyBOMBS environment. But this is a mess and does not work reliably as of now.
Any experience here?
Best regards,
Merlin Chlosta
Hi Merlin,
Are you using the MathWorks USRP support package at all?
Thanks,
Mike
From: USRP-users usrp-users-bounces@lists.ettus.com on behalf of Merlin Chlosta via USRP-users usrp-users@lists.ettus.com
Sent: Tuesday, September 6, 2016 4:38 AM
To: usrp-users@lists.ettus.com
Subject: [USRP-users] UHD for Matlab - PyBOMBS recipe?
Hi all,
I'd like to call UHD's C API from Matlab.
There seems to be a conflict with Matlab's boost and the system's boost that UHD is usually build against.
Did anybody solve this already, maybe even with a PyBOMBS recipe? I'd appreciate if you could share your experience.
Our attempt is to get the headers of Matlab's boost version from the boost website, and build against those headers in a separate PyBOMBS environment. But this is a mess and does not work reliably as of now.
Any experience here?
Best regards,
Merlin Chlosta
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
--forgot to include the list--
Hi Mike,
On 06.09.2016 13:58, Mike McLernon wrote:
Are you using the MathWorks USRP support package at all?
No, I use the 'loadlibrary' function and call the library functions directly with 'calllib'. To keep track of the buffers etc. (multi-level pointer limitations in Matlab), we have some wrapper functions added to UHD.
--Merlin
Thanks,
Mike
From: USRP-users usrp-users-bounces@lists.ettus.com on behalf of Merlin Chlosta via USRP-users usrp-users@lists.ettus.com
Sent: Tuesday, September 6, 2016 4:38 AM
To: usrp-users@lists.ettus.com
Subject: [USRP-users] UHD for Matlab - PyBOMBS recipe?
Hi all,
I'd like to call UHD's C API from Matlab.
There seems to be a conflict with Matlab's boost and the system's boost that UHD is usually build against.
Did anybody solve this already, maybe even with a PyBOMBS recipe? I'd appreciate if you could share your experience.
Our attempt is to get the headers of Matlab's boost version from the boost website, and build against those headers in a separate PyBOMBS environment. But this is a mess and does not work reliably as of now.
Any experience here?
Best regards,
Merlin Chlosta
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
Hi Merlin,
Do you know if you have the correct Boost version for your MATLAB version?
Mike
-----Original Message-----
From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Merlin Chlosta via USRP-users
Sent: Tuesday, September 6, 2016 8:21 AM
Cc: usrp-users@lists.ettus.com
Subject: Re: [USRP-users] UHD for Matlab - PyBOMBS recipe?
--forgot to include the list--
Hi Mike,
On 06.09.2016 13:58, Mike McLernon wrote:
Are you using the MathWorks USRP support package at all?
No, I use the 'loadlibrary' function and call the library functions directly with 'calllib'. To keep track of the buffers etc. (multi-level pointer limitations in Matlab), we have some wrapper functions added to UHD.
--Merlin
Thanks,
Mike
From: USRP-users usrp-users-bounces@lists.ettus.com on behalf of Merlin Chlosta via USRP-users usrp-users@lists.ettus.com
Sent: Tuesday, September 6, 2016 4:38 AM
To: usrp-users@lists.ettus.com
Subject: [USRP-users] UHD for Matlab - PyBOMBS recipe?
Hi all,
I'd like to call UHD's C API from Matlab.
There seems to be a conflict with Matlab's boost and the system's boost that UHD is usually build against.
Did anybody solve this already, maybe even with a PyBOMBS recipe? I'd appreciate if you could share your experience.
Our attempt is to get the headers of Matlab's boost version from the boost website, and build against those headers in a separate PyBOMBS environment. But this is a mess and does not work reliably as of now.
Any experience here?
Best regards,
Merlin Chlosta
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
On 06.09.2016 17:45, Mike McLernon wrote:
Hi Merlin,
Do you know if you have the correct Boost version for your MATLAB version?
Hi Mike,
I learn about the MATLAB Boost version from the file names /usr/local/MATLAB/(matlab-version)/bin/glnxa64/libboost_* (assuming standard installation directory).
For R2016a, this is 1.56.0. To build UHD against this Boost, I download and build 1.56.0.
How do I do this building against a 'local' Boost 1.56.0 and linking against Matlab's Boost correctly?
--Merlin
Mike
-----Original Message-----
From: USRP-users [mailto:usrp-users-bounces@lists.ettus.com] On Behalf Of Merlin Chlosta via USRP-users
Sent: Tuesday, September 6, 2016 8:21 AM
Cc: usrp-users@lists.ettus.com
Subject: Re: [USRP-users] UHD for Matlab - PyBOMBS recipe?
--forgot to include the list--
Hi Mike,
On 06.09.2016 13:58, Mike McLernon wrote:
Are you using the MathWorks USRP support package at all?
No, I use the 'loadlibrary' function and call the library functions directly with 'calllib'. To keep track of the buffers etc. (multi-level pointer limitations in Matlab), we have some wrapper functions added to UHD.
--Merlin
Thanks,
Mike
From: USRP-users usrp-users-bounces@lists.ettus.com on behalf of Merlin Chlosta via USRP-users usrp-users@lists.ettus.com
Sent: Tuesday, September 6, 2016 4:38 AM
To: usrp-users@lists.ettus.com
Subject: [USRP-users] UHD for Matlab - PyBOMBS recipe?
Hi all,
I'd like to call UHD's C API from Matlab.
There seems to be a conflict with Matlab's boost and the system's boost that UHD is usually build against.
Did anybody solve this already, maybe even with a PyBOMBS recipe? I'd appreciate if you could share your experience.
Our attempt is to get the headers of Matlab's boost version from the boost website, and build against those headers in a separate PyBOMBS environment. But this is a mess and does not work reliably as of now.
Any experience here?
Best regards,
Merlin Chlosta
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com