Commit 060e876b authored by Davis King's avatar Davis King

Made the mex wrapper flush output streams to the matlab console when the mex

function ends.
parent 168574bd
......@@ -4506,6 +4506,9 @@ void mexFunction( int nlhs, mxArray *plhs[],
#endif
mex_binding::call_mex_function(mex_function, nlhs, plhs, nrhs, prhs);
cout << flush;
cerr << flush;
}
// ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment