
Unfortunately, I was unable to compile it, so i just made my own one. There was another MATLAB/Simulink interface for the hackrf somewhere in the internet.

To be safe, only unplug it AFTER closing MATLAB. For receiving/transmitting signals, you need to provide appropriate callback functions to process the complex samples.īe aware that while using the hackrf within MATLAB, unplugging it will kill MATLAB instantly (At least that's the case on my computer). RF Explorer Spectrum Analyzer up to 6GHz (6G combo). This object will make calls to the MEX function and it will offer intuitive control over the hackrf radio. The HackRF One is a test equipment module for RF related experiments and measurements which covers a. To get access to the hackrf device, create an instance of the hackrf class. Then, you need to compile the MEX gateway function by just calling the make script. Im trying to use the hackrfsweep and qspectrumanalyzer, however I’m having trouble finding a minimal os image that can support qspectrumanalyzer. I have a raspberry pi 4 w 4 GB ram and a 7 touch screen I also have a hackrf one. Some useful instructions for compilation are found here: Hello I’m trying to make a pocket wide band spectrum analyzer.
Hackrf one spectrum analyzer install#
(or just install it if there's a package for your linux). This tool requires the DSP toolbox.įirst prerequisite is to compile the hackrf library which is available here: You can interactively tune the hackRF by panning and zooming into the spectrum display. It avoids writing the samples to temporary files and then calling hackrf_transfer.Īlso, there is a small graphical app "panorama" which is a simple but useful spectrum analyzer. It is nothing more than a convenient gateway to the hackrflib. It gives you buffered receive and transmit functionality and you can control parameters like frequency, gain, sample rate, receiver and transmitter gain.

This submission is an interface to use the hackRF (a radio receiver/transmitter) directly in MATLAB.
