Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
switch off saving of recovery files in Matlab code
Posted 19 lug 2011, 20:52 GMT-4 Porous Media Flow, Studies & Solvers Version 4.3b 3 Replies
Please login with a confirmed email address before reporting spam
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
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
3 Replies Last Post 4 giu 2014, 14:21 GMT-4