MATLAB
The easiest way to install SCS in MATLAB is via the pre-compiled toolbox file.
Download Toolbox (.mltbx) - Recommended
The pre-compiled MATLAB Toolbox file includes binaries for Windows, Linux, and Apple Silicon Macs.
Go to the SCS MATLAB interface releases page.
Download the latest
SCS.mltbxfile.Open the file in MATLAB (or double-click it) to install.
Build from Source
If you are on an unsupported platform or prefer to build from source:
Clone the repository recursively:
git clone --recursive https://github.com/bodono/scs-matlab.git
In a MATLAB session:
cd <path/to/scs-matlab>
make_scs
The installer automatically adds scs-matlab to your MATLAB path and calls
savepath so it persists across sessions. If savepath fails (e.g., due to
file permissions) it will print the addpath line you need to add to your
startup.m.
See here for the API.