Skip to content
Snippets Groups Projects
Commit 0c51f451 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Merge branch 'load' into 'master'

load_m_file_data.m: prevent horse-race condition when saving and loading mat file

See merge request Dynare/dseries!40
parents bde57b55 ef56a1d8
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,9 @@ if isoctave
end
save tmp__dataSet__.mat;
% the following aims at preventing horse-race conditions between writing the
% file and then immediately loading it, see https://git.dynare.org/Dynare/dseries/-/merge_requests/40
rehash;
[freq, init, data, varlist, tex, ops, tags] = load_mat_file_data('tmp__dataSet__.mat');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment