| 29 | | % Author: Aulis Telle, IND, RWTH Aachen |
| | 29 | % Signature |
| | 30 | % Author: Aulis Telle (see AUTHORS) |
| | 31 | % Date: 2008/08/15 |
| | 32 | % Copyright: 2007-2008, RWTH Aachen University |
| | 33 | % |
| | 34 | % |
| | 35 | % *********************************************************************************************** |
| | 36 | % * This file is part of the RWTH - Mindstorms NXT Toolbox. * |
| | 37 | % * * |
| | 38 | % * The RWTH - Mindstorms NXT Toolbox is free software: you can redistribute it and/or modify * |
| | 39 | % * it under the terms of the GNU General Public License as published by the Free Software * |
| | 40 | % * Foundation, either version 3 of the License, or (at your option) any later version. * |
| | 41 | % * * |
| | 42 | % * The RWTH - Mindstorms NXT Toolbox is distributed in the hope that it will be useful, * |
| | 43 | % * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * |
| | 44 | % * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. * |
| | 45 | % * * |
| | 46 | % * You should have received a copy of the GNU General Public License along with the * |
| | 47 | % * RWTH - Mindstorms NXT Toolbox. If not, see <http://www.gnu.org/licenses/>. * |
| | 48 | % *********************************************************************************************** |
| | 49 | |
| | 50 | |
| | 51 | if ~isa(obj,'NXTmotor') |
| | 52 | error('MATLAB:RWTHMindstormsNXT:InvalidObject',... |
| | 53 | 'No NXTmotor object.'); |
| | 54 | end |