


Use this object as a 'free' variable. This variable can be set after
compiling by calling the compiled function with arguments. Eg:
"myProblem_RUN" would become "myProblem_RUN(1, [1 2;3 4])". Represents a
vector
Example:
>> input1 = acado.MexInputVector();
See also:
acado.MexInput
acado.MexInputMatrix
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 %Use this object as a 'free' variable. This variable can be set after 0002 % compiling by calling the compiled function with arguments. Eg: 0003 % "myProblem_RUN" would become "myProblem_RUN(1, [1 2;3 4])". Represents a 0004 % vector 0005 % 0006 % 0007 % Example: 0008 % >> input1 = acado.MexInputVector(); 0009 % 0010 % See also: 0011 % acado.MexInput 0012 % acado.MexInputMatrix 0013 % 0014 % Licence: 0015 % This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/) 0016 % 0017 % ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. 0018 % Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven. 0019 % Developed within the Optimization in Engineering Center (OPTEC) under 0020 % supervision of Moritz Diehl. All rights reserved. 0021 % 0022 % ACADO Toolkit is free software; you can redistribute it and/or 0023 % modify it under the terms of the GNU Lesser General Public 0024 % License as published by the Free Software Foundation; either 0025 % version 3 of the License, or (at your option) any later version. 0026 % 0027 % ACADO Toolkit is distributed in the hope that it will be useful, 0028 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0029 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0030 % Lesser General Public License for more details. 0031 % 0032 % You should have received a copy of the GNU Lesser General Public 0033 % License along with ACADO Toolkit; if not, write to the Free Software 0034 % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 0035 % 0036 % Author: David Ariens 0037 % Date: 2010 0038 % 0039 classdef MexInputVector < acado.MexInput 0040 properties(SetAccess='protected') 0041 0042 end 0043 0044 methods 0045 function obj = MexInputVector(varargin) 0046 0047 obj.type = 2; 0048 0049 end 0050 0051 getInstructions(obj, cppobj, get) 0052 0053 end 0054 0055 end