Dynare example files not working

seems to belong to a class shape. See Parallel pool on AWS needs files attached - MATLAB Answers - MATLAB Central

So there must be some weird path conflict be going on on your machine that I cannot replicate on mine.