mirror of https://github.com/davisking/dlib.git
Made the mex wrapper flush output streams to the matlab console when the mex
function ends.
This commit is contained in:
parent
168574bd6c
commit
060e876b86
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue