Code Generation Support for Calling Executable?

2 Ansichten (letzte 30 Tage)
Michael
Michael am 24 Jan. 2023
Kommentiert: Michael am 6 Feb. 2023
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.

Akzeptierte Antwort

Matthew DiBello
Matthew DiBello am 3 Feb. 2023
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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by