# Unsuccessfully when saving Modname/Output

**URL:** https://forum.dynare.org/t/unsuccessfully-when-saving-modname-output/27363
**Category:** Installation and Setup
**Created:** [28 March 2025 07:52 UTC](https://forum.dynare.org/t/unsuccessfully-when-saving-modname-output/27363 "2025-03-28T07:52:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![youngmai](https://forum.dynare.org/letter_avatar_proxy/v4/letter/y/47e85d/32.png) [@youngmai](https://forum.dynare.org/u/youngmai)
#### Post date: [28 March 2025 07:52 UTC](https://forum.dynare.org/t/unsuccessfully-when-saving-modname-output/27363/1 "2025-03-28T07:52:33Z")

</div>

Error using save  
Unable to create ‘ee\_results.mat’ because ‘ee\Output’ does not exist.  
Error in ee.driver (line 1024)  
save([M\_.dname filesep ‘Output’ filesep ‘ee\_results.mat’], ‘oo\_’, ‘M\_’, ‘options\_’);  
Error in dynare (line 281)  
evalin(‘base’,[fname ‘.driver’]);  
Error in enforcetaulfriction\_pc (line 19)  
dynare ee.mod;

It seems a new problem. How should I fix it?

---

<div class="post-metadata">

### Author: ![youngmai](https://forum.dynare.org/letter_avatar_proxy/v4/letter/y/47e85d/32.png) [@youngmai](https://forum.dynare.org/u/youngmai)
#### Post date: [28 March 2025 08:07 UTC](https://forum.dynare.org/t/unsuccessfully-when-saving-modname-output/27363/2 "2025-03-28T08:07:27Z")

</div>

I placed the same m and mod files in two folders with different names using the same version of Dynare. The simulations ran successfully in both cases, but while one folder generated the Output correctly, the other failed to do so.

---

<div class="post-metadata">

### Author: ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)
#### Post date: [28 March 2025 10:03 UTC](https://forum.dynare.org/t/unsuccessfully-when-saving-modname-output/27363/3 "2025-03-28T10:03:27Z")

</div>

Most of the time, there is an issue with write permission, typically due to working on a cloud-synched folder like one on Dropbox.

---

<div class="post-metadata">

### Author: ![youngmai](https://forum.dynare.org/letter_avatar_proxy/v4/letter/y/47e85d/32.png) [@youngmai](https://forum.dynare.org/u/youngmai)
#### Post date: [28 March 2025 10:13 UTC](https://forum.dynare.org/t/unsuccessfully-when-saving-modname-output/27363/4 "2025-03-28T10:13:54Z")

</div>

Thanks a lot! I think your suggestion is probably correct. I often run MATLAB as admin. But it’s odd that only ee.mod in the folder fails to run, while others like exit.mod work.

---

<div class="post-metadata">

### Author: ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)
#### Post date: [28 March 2025 11:48 UTC](https://forum.dynare.org/t/unsuccessfully-when-saving-modname-output/27363/5 "2025-03-28T11:48:07Z")

</div>

If it’s really about Dropbox, then the problems appear stochastically.

---

<div class="post-metadata">

### Author: ![youngmai](https://forum.dynare.org/letter_avatar_proxy/v4/letter/y/47e85d/32.png) [@youngmai](https://forum.dynare.org/u/youngmai)
#### Post date: [28 March 2025 15:14 UTC](https://forum.dynare.org/t/unsuccessfully-when-saving-modname-output/27363/6 "2025-03-28T15:14:39Z")

</div>

No, I didn’t use Dropbox with MATLAB. All files are stored locally. In the end, I resolved the issue by reinstalling MATLAB and Dynare.
