Borrar filtros
Borrar filtros

How to generate stand alone sub function in codegen

3 visualizaciones (últimos 30 días)
Xie Shipley
Xie Shipley el 18 de Dic. de 2023
Respondida: Xie Shipley el 19 de Dic. de 2023
function b= func1()
b = func2();
end
I use codegen to generate C code for func1, but the generated C code don't have entrance of func2 (funct2 is inline in func1)
How to generate stand alone sub function in codegen, and func2 has it's own entrance ?

Respuesta aceptada

Xie Shipley
Xie Shipley el 19 de Dic. de 2023
coder.inline("never");

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by