Info

此问题已关闭。 请重新打开它进行编辑或回答。

Regarding Simulink code Generation

1 次查看(过去 30 天)
Shilpesh
Shilpesh 2018-3-7
关闭: MATLAB Answer Bot 2021-8-20
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by