How to generate C and C++ code from simulink

I have modeled simunk module which contains two constant block,a matlab function block and display.matlab function block consists of program for addition,subtraction,multiplication and division ,HOw i can generate C and C++ code
kindly help

Answers (1)

Press Ctrl + B to start the code generation . You can also configure the settings through Model Configuration Parameters .

This question is closed.

Asked:

on 20 Jan 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!