seems your Matlab doesn’t have write permissions to the current Matlab directory. Just change to somewhere else and re-run. Should work then.
If this doesn’t work it could be the myaa function somehow doesn’t work on your system. You could try to replace line 404 in ea_writeplanes with
and try if this works. But this would export figures in lower resolution.