Skip to content

Instantly share code, notes, and snippets.

@tfcollins
Created July 1, 2020 16:36
Show Gist options
  • Save tfcollins/b76f21affc5d090fcfa3878f8a1ebfea to your computer and use it in GitHub Desktop.
Save tfcollins/b76f21affc5d090fcfa3878f8a1ebfea to your computer and use it in GitHub Desktop.
git clone --recursive https://github.com/analogdevicesinc/TransceiverToolbox.git
find TransceiverToolbox -type f -exec sed -i 's/matlabshared\.libiio\./mwlibiio\./g' {} \;
find TransceiverToolbox -type f -exec sed -i "s/calllib('libiio'/calllib(obj\.libName/g" {} \;
cp -r libiio_mw_totest_6262020 TransceiverToolbox
make -C TransceiverToolbox/CI/scripts add_libad9361 > /dev/null 2>&1
/usr/local/MATLAB/R2020a/bin/matlab -nodisplay -nodesktop -nosplash -r "cd('TransceiverToolbox');addpath(genpath('libiio_mw_totest_6262020'));addpath(genpath('deps'));rx=adi.Pluto.Rx;rx.uri='ip:192.168.2.1';rx();exit()"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment