As matlab is in %runscript section, it's enough to execute directly the resulting Matlab-2016b_debian-jessie.sif image. Indeed installing apptainer is required.
In order to successfully download MATLAB onto your machine, you’ll need to paste the Installation Code and download the License File as a text file to your desktop.
The code is written to be minimalistic and without any unecessary dependencies besides dlib. Tested in Win 10 x64 and Ubuntu 16.04, both with MATLAB 2016b. Data for ...