diff --git a/src/ModelTree.cc b/src/ModelTree.cc index 41bed024ef26df24163dd96f549c225f54628a0f..1b509c84f4ec85bf2fb9eef51b6a4c93c86bada3 100644 --- a/src/ModelTree.cc +++ b/src/ModelTree.cc @@ -1961,6 +1961,8 @@ ModelTree::initializeMEXCompilationWorkers(int numworkers, const filesystem::pat { lk.unlock(); int r {system(cmd.c_str())}; + if (r) + cout << cmd.str() << endl; lk.lock(); mex_compilation_ongoing.erase(output); if (r)