Skip to content

Add a logger sink for Matlab

Pascal Palenda requested to merge feature/matlab-log-sink into develop

The forwarding of std::cout in Matlab is dependent on the Compiler. Thus the savest option for logging in Matlab is to write directly into the Matlab console using built-in methods.

This MR implements exactly this.

It had been decided, that the sink should live inside the Instrumentation library. For that reason, the sink is implemented only in the header and guarded in the pre-processor. That way, the sink can be used in any Matlab bindings as well as in "normal" cases without interfearing.

Merge request reports