Matlab

Build from Source

The Matlab mex wrapper for QOCO can be built from source as follows.

  1. Clone the repository
    git clone --recursive https://github.com/qoco-org/qoco-matlab
    
  2. Open up Matlab in the qoco-matlab directory and run the following in the Matlab terminal
    make_qoco
    
  3. Test your installation by running the following in the Matlab terminal
    run_qoco_tests
    
  4. Add qoco-matlab to your Matlab path by executing the following in the Matlab terminal
    addpath('.')
    savepath