Bluetooth Communication

Direct communication using the Bluetooth® interface

Functions

bluetooth Create Bluetooth object
fopen Connect interface object to instrument
fclose Disconnect interface object from instrument
fprintf Write text to instrument
fread Read binary data from instrument
fscanf Read data from instrument, and format as text
fwrite Write binary data to instrument
fgetl Read line of text from instrument and discard terminator
fgets Read line of text from instrument and include terminator
flushinput Remove data from input buffer
flushoutput Remove data from output buffer
binblockread Read binblock data from instrument
binblockwrite Write binblock data to instrument
query Write text to instrument, and read data from instrument
readasync Read data asynchronously from instrument
stopasync Stop asynchronous read and write operations
scanstr Read data from instrument, format as text, and parse
get Instrument object properties
set Configure or display instrument object properties
disp Display instrument object summary information
instrhwinfo Information about available hardware
methods Class method names and descriptions
record Record data and event information to file
clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrhelp Help for instrument object type, function, or property
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
instrreset Disconnect and delete all instrument objects
inspect Open Property Inspector
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
obj2mfile Convert instrument object to MATLAB code
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
size Size of instrument object array

Was this topic helpful?