I just tried cocotools with Octave 3.8.2. After editing the startup.m script to ensure all the tool boxes paths are set and checked that. However trying to run any of the demo.m files such as in ep/examples/isola/demo.m various errors are generated. Note this occurs even with octave started in traditional mode (--traditional). As an example running the isola demo file generates and error
>> cd coco/ep/examples/isola
>> demo
Run='initial': Continue equilibria along primary branch.
parse error near line 5 of file /home/fz/coco/core/toolbox/coco_cleanup.m
syntax error
>>> fhans = []
^
error: called from:
error: /home/fz/coco/core/toolbox/coco.m at line 41, column 9
error: /home/fz/coco/ep/examples/isola/demo.m at line 35, column 6
Similar errors are generated by other demos. Though I could suppress this an a few other such errors by using a semicolon at the end I did not manage to get any of the demos working. I presume Octave is not supported. If so, Kindly do consider supporting Octave.
Thank you for this suggestion, Franz. We are very supportive of any efforts to port COCO to other programming platforms, but are not prioritizing such an undertaking at this time. There may be more significant changes required than minor corrections to syntax in order to support use in Octave, given COCO's use of Matlab class definitions. If you post additional error messages to this thread, then I may be able to provide you with some suggestions on how to modify the code appropriately.
Thank you,
Harry
We very much welcome any third-party efforts to implement a version for octave.
We were looking into supporting octave as a platform for quite a long time. Unfortunately, octave lags so far behind Matlab's programming features, in particular, classes, that it is currently impossible to implement a port with acceptable effort. It would basically amount to an independent implementation, which is beyond our capacity.