DownloadDownload the distribution file: Installation
>> addpath <spgroot> # Add Matlab to your path >> cd <spgroot> # Change directory >> spgsetup # Run SPGL1's setup routine The spgsetup command compiles a fast C implementation of the projection routines. Compiling Matlab MEX interfaces is sometimes tricky business, and if your machine isn't setup for this, the spgsetup routine may fail. In that case, SPGL1 will default to using the precompiled interfaces that have been included. To verify that the SPGL1 installation is working, execute the following command from within Matlab: >> spgdemo Source codeThe source code is maintained over at https://github.com/mpf/spgl1. |