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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by