Regarding Simulink code Generation

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.

Answers (0)

This question is closed.

Asked:

on 7 Mar 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!