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

K-order DLL: no longer create an extra MAT file (useless and undocumented)

(cherry picked from commit a4769fc8)
parent 9a3494b7
No related branches found
No related tags found
No related merge requests found
...@@ -221,23 +221,6 @@ extern "C" { ...@@ -221,23 +221,6 @@ extern "C" {
// run stochastic steady // run stochastic steady
app.walkStochSteady(); app.walkStochSteady();
//ConstTwoDMatrix ss(app.getSS());
// open mat file
std::string matfile(fName); //(params.basename);
matfile += ".mat";
FILE *matfd = NULL;
if (NULL == (matfd = fopen(matfile.c_str(), "wb")))
mexErrMsgIdAndTxt("dynare:k_order_perturbation", "Couldn't open %s for writing.", matfile.c_str());
//std::string ss_matrix_name(fName);
//ss_matrix_name += "_steady_states";
//ss.writeMat4(matfd, ss_matrix_name.c_str());
// write the folded decision rule to the Mat-4 file
app.getFoldDecisionRule().writeMat4(matfd, fName.c_str()); //params.prefix);
fclose(matfd);
/* Write derivative outputs into memory map */ /* Write derivative outputs into memory map */
map<string, ConstTwoDMatrix> mm; map<string, ConstTwoDMatrix> mm;
app.getFoldDecisionRule().writeMMap(mm, string()); app.getFoldDecisionRule().writeMMap(mm, string());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment