Download
Download
The toolbox is freely available to ACADEMIC USERS. Please follow these steps:
Download current version files: AMIGO2_R2019c.zip and Help.zip (html help)
Email us amigo at iim.csic.es to receive a password to unzip the downloaded file
Unzip the .zip archives in your computer (avoid folders with spaces)
Copy the folder Help into the folder AMIGO2R2019b
Toolbox structure
The toolbox is organized in three main modules: the pre-processor, the numerical kernel, and the post-processor. Given a problem definition (inputs structure), AMIGO_Prep preprocesses user input data, generates necessary directories and code (MATLAB or C mexfiles). The different numerical modules are then called by the user to perform the desired task(s).
This general structure correlates to the following folder and code organization:
Help folder keeps all toolbox related documentation (HTML and pdf files)
Examples folder keeps a number of implemented examples that user may consider as templates to implement new problems.
Inputs folder keeps new inputs created by users.
Kernel folder keeps all numerical functions, NLP solvers, IVP solvers and auxiliary code (FORTRAN compilation required files).
Postprocessor folder keeps all Matlab functions to generate reports, structures and figures.
Preprocessor folder keeps all Matlab functions to generate Matlab or C code, to mex files when required and to generate necessary paths.
Add-ons are all those folders added to AMIGO2 to deal with specific new tasks.
Release_info folder contains the AMIGO_release_info.m with features incorporated in this release.
Results folder keeps all results. Users may create other results folders.
Installation
Start a Matlab session and go to the AMIGO2_R2019b folder
Type:
> AMIGO_Startup
2. Access AMIGO2 HTML Help under the MATLAB Help - Supplemental Software link.
NOTE for MAC users: AMIGO2 incorporates some mex files to frotran optimizers. Please follow the
instructions provided in the file AMIGO2/Examples/README_EXAMPLES.m to use these solvers in
Macintosh Operating Systems.
Log of code updates
September 2016- Update (R2016b) is available which allows for delayed stimulation (constant or parameter dependent) and pulse-wise optimal control
December 2016- Update (R2016c) is available which enables the possibility to manually modify the cost function in DO. Stimulation delay works for DO. Minor bugs have been corrected.
January 2017- Update (R2016d) is available which corrects some bugs affecting ContourP and OED in some specific cases.
March 2018 - Update (R2018a) is available which corrects incompatibility issues with newest MATLAB versions. It also incorporates an addon on Inverse Optimal Control (click for further details).
May 2018 - Update (R2018b) is available which corrects C compilation incompatibility issues with newest MATLAB versions. Adds an example on how to use your own PE cost function. Corrects minor bugs.
March 2019 - Update (R2019a) corrects minor bugs.