"vscode:/vscode.git/clone" did not exist on "51f8777e698b62fcc2e1c2d537a9ed851edf4ba2"
Commit 060e876b authored by Davis King's avatar Davis King
Browse files

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[], ...@@ -4506,6 +4506,9 @@ void mexFunction( int nlhs, mxArray *plhs[],
#endif #endif
mex_binding::call_mex_function(mex_function, nlhs, plhs, nrhs, prhs); 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