Code Generation Support for Calling Executable?

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.

 Respuesta aceptada

Matthew DiBello
Matthew DiBello el 3 de Feb. de 2023

0 votos

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

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Preguntada:

el 24 de En. de 2023

Comentada:

el 6 de Feb. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by