Can MATLAB Engine use TextWriter after function has finished?

1 回表示 (過去 30 日間)
Nolin Borrero Jr
Nolin Borrero Jr 2024 年 4 月 9 日
回答済み: Nolin Borrero Jr 2024 年 4 月 17 日
When making a call to MATLAB using MATLAB Engine with .NET, you can specify RunOptions
public RunOptions(TextWriter output, TextWriter error, int nargout = 1, bool async = false)
Is there a way for MATLAB to keep writing to the output TextWriter even after the first call has returned?
What I would like to be able to do is go into the MATLAB Desktop App and type disp('Hello .NET') and have that use the TextWriter from the previous call. Is this possible?

採用された回答

Nolin Borrero Jr
Nolin Borrero Jr 2024 年 4 月 17 日
Apparently this is not possible.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCOM Component Integration についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by