Code Generation Support for Calling Executable?

2 ビュー (過去 30 日間)
Michael
Michael 2023 年 1 月 24 日
コメント済み: Michael 2023 年 2 月 6 日
Is there a way that I can call an executable that is supported for code generation? I know about the shell escape (!) and system.m, but neither of these are supported for code generation.

採用された回答

Matthew DiBello
Matthew DiBello 2023 年 2 月 3 日
Hi Michael,
You can write a small C wrapper function which calls the executable, and then call that C function using coder.ceval.
Best,
Matthew
  1 件のコメント
Michael
Michael 2023 年 2 月 6 日
Oh, that's a great idea! Thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by