How to generate C++ code using simulink coder?

I want to generate C++ code using simulink coder(RTW) which simulates model and returns simulation results. I have no idea how to do this. It would be great if you share some information regarding this. Thank you.

Answers (1)

Open Configuration Paramters (Ctrl + E) -> Code Generation Tab and select Target Language as C++

This question is closed.

Asked:

on 19 Jul 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!