Вы находитесь на странице: 1из 1

To install the toolbox, you should follow the following procedure: - Extract the zip file to a directory (e.g.

C:\MATLABR2009b\toolbox\hybrid) - Run MATLAB - Add the directory C:\MATLABR2007b\toolbox\hybrid and C:\MATLABR2009b\toolbox\h ybrid\utils to the MATLABPATH. (Go to the menu FILE/SET PATH from the MATLAB Command Window, and then PATH/AD D TO PATH from the Path Browser window) Make sure that the \utils directory has write permissions and that the .h and .dll files are not read-only. Make also sure that the HYSDEL executable in @mld/private/ has execution permiss ions. A user's guide is available in PDF in the \manual subdirectory. Several demos are in the \demos directory. To be able to generate mex files you should have a C-compiler compatible with MATLAB (e.g. Microsoft Visual C++ 6.0 TM, or the free compiler and mex interface MINGW/GNUMEX). The software is compatible with MATLAB >= R2009a. Some functions do not work on earlier versions of MATLAB. The Model Predictive Control Toolbox for MATLAB should be installed for using certain parts of the Hybrid Toolbox. If you plan to use Ilog CPLEX with version <=11.2 with the Hybrid Toolbox, you s hould copy ..\ILOG\CPLEX91\BIN\X86_WIN32\CPLEX91.DLL in a visible path (e.g.: C:\WINDOWS\SYSTEM32). The precompiled mex file CPLEXMEX.DLL was compiled for CPLEX 9.1. If you have an earlier version of Cplex, try renaming CPLEXxx.DLL to CPLEX91.DLL. If you plan to use CPLEX through the CP LEXINT mex interface, you should probably do the same and rename CPLEXxx.DLL into CPLEX112.DLL, which is the version CPLEX INT was compiled for. No issue if you are using IBM CPLEX version >12.0, whose insta llation comes with a MATLAB interface. ---------For WIN64 users: some additional files must be downloaded. To do this, after you install the toolbox open MATLAB and run >> mexdownload The required mex files will be downloaded in the correct folder automatically. Some users reported that Windows SDK must be installed to have mex files working successfully.

Вам также может понравиться