Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Can function definitions be preserved with Matlab coder?

2 visualizzazioni (ultimi 30 giorni)
Todd Wetzel
Todd Wetzel il 9 Feb 2017
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Just a simple question; We use Matlab coder to produce C++ code that eventually gets put on an embedded machine. We would like the generated code to maintain the functional structure of the Matlab code. Currently we observe that some of our Matlab functions are not preserved in the generated C++ code - these functions essentially become in-line C++ code.
Is there a setting or rule of thumb that can be used to prevent Matlab coder from removing functional blocks?
Thanks in advance,
Todd Wetzel

Risposte (1)

Harsh
Harsh il 15 Feb 2017
Hello,
The following doc maybe useful to you - it contains techniques you can use to control inlining during code generation.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by