Info

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

Regarding Simulink code Generation

1 visualizzazione (ultimi 30 giorni)
Shilpesh
Shilpesh il 7 Mar 2018
Chiuso: MATLAB Answer Bot il 20 Ago 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.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by