|
Creating a Serial Port Object
|
serial |
Create a serial port object |
|
Writing and Reading Data |
fgetl |
Read one line of text from the device and discard the terminator |
fgets |
Read one line of text from the device and include the terminator |
fprintf |
Write text to the device |
fread |
Read binary data from the device |
fscanf |
Read data from the device, and format as text |
fwrite |
Write binary data to the device |
readasync |
Read data asynchronously from the device |
stopasync |
Stop asynchronous read and write operations |
|
Configuring and Returning
Properties |
get |
Return serial port object properties |
set |
Configure or display serial port object properties |
|
State Change |
fclose |
Disconnect a serial port object from the device |
fopen |
Connect a serial port object to the device |
record |
Record data and event information to a file |
|
General Purpose |
clear |
Remove a serial port object from the MATLAB workspace |
delete |
Remove a serial port object from memory |
disp |
Display serial port object summary information |
instraction |
Display event information when an event occurs |
instrfind |
Return serial port objects from memory to the MATLAB workspace |
isvalid |
Determine if serial port objects are valid |
length |
Length of serial port object array |
load |
Load serial port objects and variables into the MATLAB workspace |
save |
Save serial port objects and variables to a MAT-file |
serialbreak |
Send a break to the device connected to the serial port |
size |
Size of serial port object array |