Changeset 994

Show
Ignore:
Timestamp:
10/19/11 10:26:40 (19 months ago)
Author:
staas
Message:

* formatted some strings for better display in Matlab Help

Location:
trunk/demos
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/demos/Example_1_PlayTone.m

    r971 r994  
    1111% verify that the RWTH - Mindstorms NXT toolbox is installed. 
    1212if verLessThan('RWTHMindstormsNXT', '2.00'); 
    13     error('This program requires the RWTH - Mindstorms NXT Toolbox version 2.00 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 
     13    error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 
     14        ,'version 2.00 or greater. Go to http://www.mindstorms.rwth-aachen.de ' ... 
     15        ,'and follow the installation instructions!')); 
    1416end%if 
    1517 
  • trunk/demos/Example_2_ReadSoundSensor.m

    r971 r994  
    1111% verify that the RWTH - Mindstorms NXT toolbox is installed. 
    1212if verLessThan('RWTHMindstormsNXT', '2.00'); 
    13     error('This program requires the RWTH - Mindstorms NXT Toolbox version 2.00 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 
     13    error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 
     14        ,'version 2.00 or greater. Go to http://www.mindstorms.rwth-aachen.de' ... 
     15        ,' and follow the installation instructions!')); 
    1416end%if 
    1517 
  • trunk/demos/Example_3_DriveAroundTable_MotorClass.m

    r971 r994  
    1313% verify that the RWTH - Mindstorms NXT toolbox is installed. 
    1414if verLessThan('RWTHMindstormsNXT', '3.00'); 
    15     error('This program requires the RWTH - Mindstorms NXT Toolbox version 3.00 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 
     15    error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 
     16        ,'version 3.00 or greater. Go to http://www.mindstorms.rwth-aachen.de ' ... 
     17        ,'and follow the installation instructions!')); 
    1618end%if 
    1719 
  • trunk/demos/Example_4_NextGenerationUltrasound.m

    r971 r994  
    1818% verify that the RWTH - Mindstorms NXT toolbox is installed. 
    1919if verLessThan('RWTHMindstormsNXT', '2.00'); 
    20     error('This program requires the RWTH - Mindstorms NXT Toolbox version 3.00 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 
     20    error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 
     21        ,'version 3.00 or greater. Go to http://www.mindstorms.rwth-aachen.de ' ... 
     22        ,'and follow the installation instructions!')); 
    2123end%if 
    2224 
  • trunk/demos/Example_5_MoveUpAndDown.m

    r824 r994  
    3535% verify that the RWTH - Mindstorms NXT toolbox is installed. 
    3636if verLessThan('RWTHMindstormsNXT', '4.01'); 
    37     error('This program requires the RWTH - Mindstorms NXT Toolbox version 4.01 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 
     37    error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 
     38    ,'version 4.01 or greater. Go to http://www.mindstorms.rwth-aachen.de ' ... 
     39    ,'and follow the installation instructions!')); 
    3840end%if 
    3941 
  • trunk/demos/Example_6_MultiNxt.m

    r991 r994  
    1515%% verify that the RWTH - Mindstorms NXT toolbox is installed. 
    1616if verLessThan('RWTHMindstormsNXT', '4.05'); 
    17     error('This program requires the RWTH - Mindstorms NXT Toolbox version 4.05 or greater. Go to http://www.mindstorms.rwth-aachen.de and follow the installation instructions!'); 
     17    error(strcat('This program requires the RWTH - Mindstorms NXT Toolbox ' ... 
     18        ,'version 4.05 or greater. Go to http://www.mindstorms.rwth-aachen.de '... 
     19        ,'and follow the installation instructions!')); 
    1820end%if 
    1921 
     
    3739NXT2.MAC = ''; 
    3840NXT2.connectionMode = 'Bluetooth'; 
    39 NXT2.bluetoothIni = 'bluetooth1.ini';  % use information from ini file (serial port information, Name or/and MAC of NXT (using Bluetooth object from Intstrument Control Toolbox >= v3.0)) 
     41NXT2.bluetoothIni = 'bluetooth1.ini';   
     42% use information from ini file (serial port information, Name or/and MAC  
     43% of NXT(using Bluetooth object from Intstrument Control Toolbox >= v3.0)) 
    4044 
    4145% NXT 3 (Bluetooth) 
    4246% Open NXT with given information from "bluetooth2.ini" and the given MAC 
    4347% via Bluetooth 
    44 NXT3.MAC = '0016530E7EDE'; %this information will only be used if you have a Windows 64Bit system and the "Intstrument Control Toolbox" >= v3.0. 
     48NXT3.MAC = '0016530E7EDE';  
     49%this information will only be used if you have a Windows 64Bit system  
     50%and the "Intstrument Control Toolbox" >= v3.0. 
    4551NXT3.connectionMode = 'Bluetooth'; 
    46 NXT3.bluetoothIni = 'bluetooth2.ini';  % use information from ini file (serial port information, Name or/and MAC of NXT (using Bluetooth object from Intstrument Control Toolbox >= v3.0)) 
     52NXT3.bluetoothIni = 'bluetooth2.ini';  
     53% use information from ini file (serial port information, Name or/and MAC  
     54%of NXT (using Bluetooth object from Intstrument Control Toolbox >= v3.0)) 
    4755 
    4856% NXT 4 ... add as many as you want!