Quantcast
Channel: Solving, solving\ - Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 3988

switch off saving of recovery files in Matlab code

$
0
0
Hello community,

I am running Comsol through the Matlab interface. My problem is that the directory assigned to the recovery files is to small to save them which terminates my calculations.

I would like to know how I can change that. I know that I can just uncheck the button on the COMSOL interface but I need the matlab command.

I tried relocating the recovery folder when starting up comsol in the terminal ( I use LINUX) with

comsol matlab -prefsdir /path
and
comsol server matlab -prefsdir /path

but both didn't work. I tried to relocate the folder in my home file
/voglerd/.comsol/v42/recoveries
by changing the file prefs.dir that was under /voglerd/.comsol/v42/
by rewriting the line
general.recovery.recoverydir=/<path/voglerd/.comsol/v42/recoveries>
to
general.recovery.recoverydir=/<newpath>

All that didn't work. Is there a command that you can write into your code before the solver configurations that switches off the saving of recovery files???

Any help would be much appreciated.

Best,

Daniel

Viewing all articles
Browse latest Browse all 3988

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>