View documentation for other releases
Learn more about MATLAB
• Getting Started
• User's Guide
• Functions
• Desktop Tools and Development Environment
• Data Import and Export
• Mathematics
• Data Analysis
• Programming and Data Types
• Object-Oriented Programming
• Graphics
• 3-D Visualization
• GUI Development
• External Interfaces
• Shared Libraries
• Java
• .NET
• Component Object Model and ActiveX
• Web Services
• Serial Port Devices
clear (serial)
delete (serial)
disp (serial)
fclose (serial)
fgetl (serial)
fgets (serial)
fopen (serial)
fprintf (serial)
fread (serial)
fscanf (serial)
fwrite (serial)
get (serial)
instrcallback
instrfind
instrfindall
isvalid (serial)
length (serial)
load (serial)
readasync
record
save (serial)
serial
serialbreak
set (serial)
size (serial)
stopasync
• Examples
• Release Notes
Symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
length(obj)
length(obj) returns the length of the serial port object, obj. It is equivalent to the command max(size(obj)).
size
» Learn more » Download free kit » Get trial software