diff --git a/source/btBrickIO.m b/source/btBrickIO.m index 2e955475bd2a1a8ecc715a88dd20fb099672578d..161924b74aa83be24806a0d47b423b9e7d148750 100644 --- a/source/btBrickIO.m +++ b/source/btBrickIO.m @@ -27,14 +27,15 @@ classdef btBrickIO < BrickIO % automatically chosen depending on the OS. Defaults to 'serial' on linux/mac % systems, and to 'instrumentControl' on windows systems. % + % :: % - % Examples: - % % Connecting on windows |br| - % commHandle = btBrickIO('deviceName', 'MyEV3', 'channel', 1); % |br| - % % Connecting on windows using MATLABs default serial port implementation for testing |br| - % commHandle = btBrickIO('deviceName', 'MyEV3', 'channel', 1, 'backend', 'serial'); % |br| - % % Connecting on mac/linux |br| - % commHandle = btBrickIO('serPort', '/dev/rfcomm0'); % |br| + % Examples: + % % Connecting on windows + % commHandle = btBrickIO('deviceName', 'MyEV3', 'channel', 1); + % % Connecting on windows using MATLABs default serial port implementation for testing + % commHandle = btBrickIO('deviceName', 'MyEV3', 'channel', 1, 'backend', 'serial'); + % % Connecting on mac/linux + % commHandle = btBrickIO('serPort', '/dev/rfcomm0'); % properties @@ -72,13 +73,15 @@ classdef btBrickIO < BrickIO % varargin: Any number of property names as strings, each followed by the % desired value. % - % Examples: - % % Connecting on windows - % commHandle = btBrickIO('deviceName', 'MyEV3', 'channel', 1); - % % Connecting on windows using MATLABs default serial port implementation for testing - % commHandle = btBrickIO('deviceName', 'MyEV3', 'channel', 1, 'backend', 'serial'); - % % Connecting on mac/linux - % commHandle = btBrickIO('serPort', '/dev/rfcomm0'); + % :: + % + % Examples: + % % Connecting on windows + % commHandle = btBrickIO('deviceName', 'MyEV3', 'channel', 1); + % % Connecting on windows using MATLABs default serial port implementation for testing + % commHandle = btBrickIO('deviceName', 'MyEV3', 'channel', 1, 'backend', 'serial'); + % % Connecting on mac/linux + % commHandle = btBrickIO('serPort', '/dev/rfcomm0'); % % See also BTBRICKIO.SETPROPERTIES