Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Regarding Simulink code Generation

1 visualización (últimos 30 días)
Shilpesh
Shilpesh el 7 de Mzo. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hello,
I am using Simulink coder for the first time, so am not sure about the steps to be followed after generating the code. My application requires me to deploy the generated C code in a non-MATLAB environment. The inputs to the code are supposed to come from other programs and output is supposed to go to the c code for the next subsystem. I have generated the code using the packNGo function and have all the generated files. Is it possible that the output of code generation be directly deployed without any changes?
I found a link, attached herewith, which mentions that I need to write my own function for getting the inputs. I wanted to know, apart from function to get inputs, what all other functions I need to write. Do I need to modify the rt_main.c file?
Also if someone can explain the standard flow for steps, from simulink model to the actual deployment for application, it would be really helpful.
Thanks.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by