Commit Graph

5 Commits (beb7d42d748f9f0f5216ed7aca93dceb4f73df2c)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) 1bf81c9f5a Fixed copyright notices. 2017-05-18 18:36:38 +02:00
Stéphane Adjemian (Charybdis) 5417b27ac7 Fixed indentation of matlab files. 2017-05-16 15:10:20 +02:00
Stéphane Adjemian (Charybdis) 215de7e8dc Closes #1057.
Use a static file with a list of routines to cleared before each run (because they have
persistent variables).This static file (the script
matlab/list_of_functions_to_be_cleared.m) is distributed with Dynare and
needs to be updated for each release (or each time we add/remove
persistent variables). To update the file just do:

>> clear_persistent_variables(DYNARE_MATLAB_PATH, true)

and add/commit the generated file.
2015-11-12 14:38:16 +01:00
Stéphane Adjemian (Charybdis) 18a5eea7e0 Fixed bug in clear_persistent_variables routine.
The generated mat file (which saves a list of routines containing persistent variables) has to be saved in the dynare/matlab folder.
2015-10-10 00:21:18 +02:00
Stéphane Adjemian (Charybdis) 03b92c6387 Added file to clear all functions with persistent variables. 2015-10-06 11:34:56 +02:00