danielrherber / optimal-control-direct-method-examples

Teaching examples for three direct methods for solving optimal control problems namely single shooting, single step, and pseudospectral.
BSD 3-Clause "New" or "Revised" License
43 stars 16 forks source link

Matlab version #2

Closed brankaleon closed 5 years ago

brankaleon commented 6 years ago

Working Matlab version should be pointed out. As an example it seems not working on R2015b

danielrherber commented 6 years ago

Hello brankaleon; thank you for pointing out this issue. Can you provide any additional information to help me fix this issue? Did you run the install script (INSTALL_Direct_Method_Examples.m) first?

I just tested the project code successfully on the following configurations that I have available:

The install script does fail on versions before R2014b because the function websave was introduced in R2014b. However, if you are using a version older than R2014b, you can manually download the required files, and the project should run fine.

danielrherber commented 5 years ago

Issue should be fixed in commit 1d996c95605275798982591d47c6bd1578019081. See issue #3.