%% Create Object Using Serial RTU Transport
% When the transport is |'serialrtu'|, you must specify |'Port'|. This is the serial port the MODBUS server is connected to. 
%
% Create the MODBUS object |m| using the |Port| of |'COM3'|.

m = modbus('serialrtu','COM3')
%%
% The object output shows arguments you set and defaults that are used automatically.

%% 
% Copyright 2012 The MathWorks, Inc.