I have a third-party DLL that prints to stdout and stderr. How do I view this in MATLAB?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi guys. As the title suggests, I'm trying to use a shared library with MATLAB (r2017a). When called from Qt or Visual Studio, text is printed to the Qt/Visual Studio console with no issues. However, when I try and call it from a mex file, no text is printed to the MATLAB console.
I have access to the source of the library and most calls are done through printf (stdout) and fprintf (stderr). Is there a simple way to redirect these calls to the MATLAB command window? If not, is there a way to redirect them to any kind of console at all?
Thanks, ~Chris
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!