January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 11
Basic softwareBasic software
nn Operating system Operating system –– Windows XPWindows XP
nn Compaq Visual Fortran ver.6.6Compaq Visual Fortran ver.6.6–– Installed first because Installed first because MatlabMatlab modifies some Visual Studio filesmodifies some Visual Studio files–– For making fast DLL functionsFor making fast DLL functions
nn MatlabMatlab 2008A, with:2008A, with:–– Compiler toolbox (necessary for Compiler toolbox (necessary for KritKrit))–– Robust Control toolbox (necessary for synthesis part)Robust Control toolbox (necessary for synthesis part)–– Control System toolbox (required by Robust Control)Control System toolbox (required by Robust Control)
nn KritKrit packagepackage
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 22
Important Fortran project settings:Important Fortran project settings:Fortran tab Fortran tab -- GeneralGeneral
nn Predefined preprocessor Predefined preprocessor symbol symbol MATLAB_MEX_FILEMATLAB_MEX_FILE
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 33
Important Fortran project settings:Important Fortran project settings:Fortran tab Fortran tab –– Compilation DiagnosticsCompilation Diagnostics
nn Fortran standard Fortran standard ––FortranFortran--9595
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 44
Important Fortran project settings:Important Fortran project settings:Fortran tab Fortran tab –– Fortran DataFortran Data
nn For 32For 32--bit system, default bit system, default Real kind is 8 bytes, Real kind is 8 bytes, Integer kind is 4 bytesInteger kind is 4 bytes
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 55
Important Fortran project settings:Important Fortran project settings:Link tab Link tab -- GeneralGeneral
nn No object or library No object or library modulesmodules
nn /export:_MEXFUNCTION@16/export:_MEXFUNCTION@16commandcommand
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 66
Optional Fortran project Optional Fortran project settings: path to the librariessettings: path to the libraries
nn Use this feature to inform Use this feature to inform the compiler about the the compiler about the location of various location of various MatlabMatlablibrarieslibraries
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 77
Important Fortran project settings:Important Fortran project settings:LibrariesLibraries
nn Add the following Add the following MatlabMatlab libraries to the project:libraries to the project:libmat.liblibmat.liblibmex.liblibmex.liblibmx.liblibmx.lib
To be found at:To be found at:<<Matlab_RootMatlab_Root>>\\externextern\\liblib\\win32win32\\microsoftmicrosoft
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 88
KritKrit package installationpackage installation
nn Copy folder structure containing at least the folders Copy folder structure containing at least the folders
KRIT76, KRITAERO, KRITMISC and KRITGUI76KRIT76, KRITAERO, KRITMISC and KRITGUI76nn For example:For example:
KritKrit|__|__ StandardStandard
|______KRIT76|______KRIT76 ((KritKrit core)core)
|______|______KritAeroKritAero (Flight dynamics add(Flight dynamics add--ons)ons)
|______|______KritMiscKritMisc (Other add(Other add--ons)ons)
|______KRITGUI76|______KRITGUI76 (GUIs incl. (GUIs incl. ManGUIManGUI))
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 99
KritKrit package installationpackage installation
nn In In MatlabMatlab, add all , add all the four folders:the four folders:-- KRIT76KRIT76-- KritAeroKritAero-- KritMiscKritMisc-- KRITGUI76KRITGUI76to to MatlabMatlab pathpath
January 5, 2009January 5, 2009 Software installation instructionsSoftware installation instructions 1010
Useful tipsUseful tips
nn Use Use this this command to command to avoid the warnings like avoid the warnings like this onethis one
nn Even better to add it to Even better to add it to startup file:startup file:<<MatlabMatlab>>\\ToolboxToolbox\\LocalLocal\\matlabrc.mmatlabrc.m
Top Related