Main Content

findsdr

Status of software-defined radios (SDRs) connected to host computer

Since R2026a

Description

radios = findsdr() returns a table that contains the radio name, radio type, and IP address or serial number of every SDR that is connected to the host computer.

example

radios = findsdr(SDRType=Type) returns a table that contains the model number, IP address or serial number, and status of every SDR of the type specified by Type that is connected to the host computer.

radios = findsdr(StatusType=Status) returns a table that contains the model number, IP address or serial number, and status of every SDR of the status specified by Status that is connected to the host computer.

radios = findsdr(SDRType=Type,Address=SDRAddress) returns a table that contains the model number, IP address or serial number, and status of every SDR of the IP address or serial number specified by SDRAddress that is connected to the host computer.

Examples

collapse all

Use the findsdr function to find the SDRs connected to the host computer.

radios = findsdr()

Set the SDRType to the desired SDR to get the information about of a specific SDR type connected to the host computer. For example, to get the list of all Pluto radios connected to the host computer, set SDRType to PLUTO.

radios = findsdr(SDRType="PLUTO")

Set the Address to desired IP address or serial number to get the status of an SDR with specific IP address or serial number.

radios = findsdr(SDRType="USRP", Address='192.168.10.2')

Set the StatusType to TxRxAvailable to get the status of transmitter or receiver on SDRs.

radios = findsdr(StatusType='TxRxAvailable')

Input Arguments

collapse all

Type of SDR, specified as a string scalar or character vector. Use this option to get the status of a specific type of SDR connected to the host computer.

Example: "USRP"

Data Types: char | string

Status type of the SDR, specified as a string scalar or character vector. Set StatusType to one of these values:

  • "SDRList"— Lists SDRs connected to the host computer with the corresponding SDR name, SDR type, and IP address or serial number

  • "TxAvailable"— Lists available transmitter on the SDRs connected to the host computer with the corresponding SDR name, SDR type, and IP address or serial number.

  • "RxAvailable"— Lists available receiver on the SDRs connected to the host computer with the corresponding SDR name, SDR type, and IP address or serial number.

  • "TxRxAvailable"— Lists both available transmitter and receiver on the SDRs connected to the host computer with the corresponding SDR name, SDR type, and IP address or serial number.

  • "RxTxAvailable"— Lists both available transmitter and receiver on the SDRs connected to the host computer with the corresponding SDR name, SDR type, and IP address or serial number.

  • "DetailedStatus"— Lists the detailed status of SDRs connected to the host computer with the corresponding SDR name, SDR type, IP address or serial number, and transmitter or receiver availability.

Data Types: char | string

IP address or serial number of the SDR, specified as a string scalar or character vector.

Data Types: char | string

Output Arguments

collapse all

Information about connected SDRs, returned as a table. See the table for variable descriptions.

VariablesDescriptionDependencies
SDRNameName of the SDRs connected to the host computer.-
SDRTypeType of the SDRs connected to the host computer.-
AddressIP address or serial number of the SDRs connected to the host computer.-
TxAvailableAvailability of SDR transmitters connected to the host computer.

Set StatusType to any of these values to get the list of available SDR transmitters:

  • TxAvailable

  • TxRxAvailable

  • RxTxAvailable

  • DetailedStatus.

RxAvailableAvailability of SDR receivers connected to the host computer.

Set StatusType to any of these values to get the list of available SDR receivers:

  • RxAvailable

  • TxRxAvailable

  • RxTxAvailable

  • DetailedStatus.

StatusDetailed status of SDRs connected to the host computer. Set StatusType to DetailedStatus.

Version History

Introduced in R2026a