In order to get the Matlab code to run, it is necessary to download Germany files from: https://gadm.org/download_country.html

(They do not allow redistribution without prior permission, so I have not included the shapefile here.)