Code Generation Support for Calling Executable?
조회 수: 2 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
채택된 답변
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!