You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no way to retrieve stdout of the MATLAB process; for this we need engOutputBuffer, and possibly some convenience APIs written atop it to make dealing with buffers less burdensome.
The text was updated successfully, but these errors were encountered:
An alternative, possibly more appealing in certain cases anyway (and certainly appearing simpler) is the MATLAB diary, which basically tells MATLAB to log all output to a specified file - I'll explore this soon.
Confirmed that diary works well for most use cases. Using Path, a couple of example functions would be:
diaryFile::Engine->PathbFile->MIO()
diaryFile e logFile = engineEval e $"diary "<> (toFilePath logFile)
diaryOn::Engine->MIO()
diaryOn e = engineEval e "diary on"
Currently there is no way to retrieve stdout of the MATLAB process; for this we need engOutputBuffer, and possibly some convenience APIs written atop it to make dealing with buffers less burdensome.
The text was updated successfully, but these errors were encountered: