Error in running dynare

Error using fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in dynare (line 168)
fprintf(fid, ‘%s’, result);

i run dynare 4.4.2 .
please help!

run matlab as administrator and give administrator rights to your pc-user (in the current matlab folder).

for anyone who deals with this issue again.