Download and toolbox structure

The toolbox is freely available to ACADEMIC USERS. Please follow these steps:

  1. Download current version files: and (html help)
  2. Email us amigo at to receive a password to unzip the downloaded file
  3. Unzip the .zip archives in your computer (avoid folders with spaces)
  4. Copy the folder Help into the folder AMIGO2R2018a

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.


  1. Start a Matlab session and go to the AMIGO2_R2018 folder
  2. 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.

Eva Balsa-Canto,
May 5, 2016, 5:45 AM