


Shorthand for acado.IntermediateState
Example:
>> IntermediateState is;
>> IntermediateState is1 is2 is3 is4;
Licence:
This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/)
ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.
Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven.
Developed within the Optimization in Engineering Center (OPTEC) under
supervision of Moritz Diehl. All rights reserved.
ACADO Toolkit is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
ACADO Toolkit is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with ACADO Toolkit; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Author: David Ariens
Date: 2010

0001 %Shorthand for acado.IntermediateState 0002 % 0003 % Example: 0004 % >> IntermediateState is; 0005 % >> IntermediateState is1 is2 is3 is4; 0006 % 0007 % Licence: 0008 % This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/) 0009 % 0010 % ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. 0011 % Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven. 0012 % Developed within the Optimization in Engineering Center (OPTEC) under 0013 % supervision of Moritz Diehl. All rights reserved. 0014 % 0015 % ACADO Toolkit is free software; you can redistribute it and/or 0016 % modify it under the terms of the GNU Lesser General Public 0017 % License as published by the Free Software Foundation; either 0018 % version 3 of the License, or (at your option) any later version. 0019 % 0020 % ACADO Toolkit is distributed in the hope that it will be useful, 0021 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0022 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0023 % Lesser General Public License for more details. 0024 % 0025 % You should have received a copy of the GNU Lesser General Public 0026 % License along with ACADO Toolkit; if not, write to the Free Software 0027 % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 0028 % 0029 % Author: David Ariens 0030 % Date: 2010 0031 % 0032 function IntermediateState( varargin ) 0033 0034 checkActiveModel; 0035 0036 if ~iscellstr( varargin ), 0037 error( 'Syntax is: IntermediateState x' ); 0038 0039 else 0040 0041 for k = 1 : nargin, 0042 VAR_NAME = varargin{k}; 0043 VAR_ASSIGN = acado.IntermediateState(varargin{k}); 0044 0045 assignin( 'caller', VAR_NAME, VAR_ASSIGN ); 0046 end 0047 0048 end 0049 0050 end 0051