.mltbx file from here.
With the Matlab toolbox package .mltbx you are ready to go, just double click on the file and Matlab will install the packages as an Add-on.
Then run an optimal control example by typing
in your command window.
If the file ending
.mltbx is not associated with Matlab, open Matlab navigate to the
.mltbx file, and right click within Matlab on the file and install the toolbox.
During the first run, the toolbox will ask to download necessary software (CasADi). Confirm by hitting
Then these two plots should show up:
To have a look at the code, type
To see documentation, type