Make ACADO Integrators only. Run the command 'makeintegrators' directly within the directory <ACADOtoolkit-inst-dir>/interfaces/matlab/ Usage: >>makeintegrators Make changed files only, no debugging, no cleaning >>makeintegrators clean Clean all object and mex files >>makeintegrators debug Make changed files only in debug mode >>makeintegrators all Force all files to be maked again >>makeintegrators all debug Force all files to be maked again in debug mode >>makeintegrators clean all First clean, then make all files >>makeintegrators clean all debug First clean, then make all files in debug mode All information regarding installation available at http://www.acadotoolkit.org/matlab You need to setup mex before you can run this make script. Run >>mex -setup in your console if you haven't used mex yet. When using Windows, we encourage you to install Microsoft Visual C++ (express) compiler first. After installation, run "mex -setup" and select the Microsoft Visual C++ compiler as your default compiler. This compiler can be download free of charge on http://www.microsoft.com/Express/VC/. When running Linux/Mac OS, select the GCC compiler. After having run makeintegrators, all ACADO files are compiled and stored in the bin directory. Your paths are also altered to reference the ACADO folders. If you close are reopen Matlab you need to rerun this file because your path settings will be lost. As long as you do not delete the content of the bin folder, this should only take a few seconds because all files are unchanged. If you prefer not to rerun this file. Run >>savepath in your console. This will store the current path for future sessions. Example: >>makeintegrators; <hit enter and wait for the compilation to end. This will take a few minutes> see also make, makeocp, makesimulation, makemex 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 2009
0001 function [ ] = makeintegrators( varargin ) 0002 % Make ACADO Integrators only. Run the command 'makeintegrators' directly within the directory <ACADOtoolkit-inst-dir>/interfaces/matlab/ 0003 % 0004 % Usage: 0005 % >>makeintegrators Make changed files only, no debugging, no cleaning 0006 % >>makeintegrators clean Clean all object and mex files 0007 % >>makeintegrators debug Make changed files only in debug mode 0008 % >>makeintegrators all Force all files to be maked again 0009 % >>makeintegrators all debug Force all files to be maked again in debug mode 0010 % >>makeintegrators clean all First clean, then make all files 0011 % >>makeintegrators clean all debug First clean, then make all files in debug mode 0012 % 0013 % All information regarding installation available at http://www.acadotoolkit.org/matlab 0014 % 0015 % You need to setup mex before you can run this make script. Run 0016 % >>mex -setup 0017 % in your console if you haven't used mex yet. 0018 % 0019 % When using Windows, we encourage you to install Microsoft Visual C++ 0020 % (express) compiler first. After installation, run "mex -setup" and 0021 % select the Microsoft Visual C++ compiler as your default compiler. This 0022 % compiler can be download free of charge on 0023 % http://www.microsoft.com/Express/VC/. 0024 % 0025 % When running Linux/Mac OS, select the GCC compiler. 0026 % 0027 % 0028 % After having run makeintegrators, all ACADO files are compiled and stored in the bin 0029 % directory. Your paths are also altered to reference the ACADO folders. 0030 % If you close are reopen Matlab you need to rerun this file because your 0031 % path settings will be lost. As long as you do not delete the content of 0032 % the bin folder, this should only take a few seconds because all files 0033 % are unchanged. If you prefer not to rerun this file. Run 0034 % >>savepath 0035 % in your console. This will store the current path for future sessions. 0036 % 0037 % 0038 % Example: 0039 % >>makeintegrators; 0040 % <hit enter and wait for the compilation to end. This will take a few minutes> 0041 % 0042 % 0043 % see also make, makeocp, makesimulation, makemex 0044 % 0045 % Licence: 0046 % This file is part of ACADO Toolkit - (http://www.acadotoolkit.org/) 0047 % 0048 % ACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization. 0049 % Copyright (C) 2008-2009 by Boris Houska and Hans Joachim Ferreau, K.U.Leuven. 0050 % Developed within the Optimization in Engineering Center (OPTEC) under 0051 % supervision of Moritz Diehl. All rights reserved. 0052 % 0053 % ACADO Toolkit is free software; you can redistribute it and/or 0054 % modify it under the terms of the GNU Lesser General Public 0055 % License as published by the Free Software Foundation; either 0056 % version 3 of the License, or (at your option) any later version. 0057 % 0058 % ACADO Toolkit is distributed in the hope that it will be useful, 0059 % but WITHOUT ANY WARRANTY; without even the implied warranty of 0060 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0061 % Lesser General Public License for more details. 0062 % 0063 % You should have received a copy of the GNU Lesser General Public 0064 % License along with ACADO Toolkit; if not, write to the Free Software 0065 % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 0066 % 0067 % \author David Ariens 0068 % \date 2009 0069 % 0070 0071 if (nargin ~= 0) 0072 makehelper(1, {}, varargin); 0073 else 0074 makehelper(1, {}); 0075 end 0076 0077 end