This section describes how to obtain RK-opt and test that it is working correctly.
- MATLAB 7.X or greater
- MATLAB optimization toolbox
- MATLAB Global Optimization toolbox (for multicore search)
- xUnit test framework (for testing your installation); available for free from http://www.mathworks.com/matlabcentral/fileexchange/22846. xUnit requires MATLAB R2008a or later.
You can test your RK-opt installation with xUnit.
The MATLAB xUnit test framework can be downloaded for free at http://www.mathworks.com/matlabcentral/fileexchange/22846 (after the link, click on the button in the upper right corner). An easy way to install xUnit without setting any environment variables is to add the following lines to your startup.m file:
addpath /path/to/matlab/xunit/matlab_xunit addpath /path/to/matlab/xunit/matlab_xunit/xunit addpath /path/to/RK-opt/RK-coeff-opt
To run the tests, do the following in MATLAB:
>> cd /path/to/RK/Opt/general/test >> runtests
If everything is set up correctly, this will run several tests, and inform you that the tests passed. At present the tests are not very extensive.