I have successfully generated the code from the matlab, but I don't kown how to use these codes in the embedded equipment.

1 view (last 30 days)
Matlab coder generates so many codes, so that I don't kown which can be used in the embedded equipment. In the many codes, I see a lib file, but I am not sure whether it can be directly put in the embedded equipment.

Accepted Answer

Nick Choi
Nick Choi on 16 Nov 2017
When you generate C/C++ code through MATLAB Coder, you can specify the target platform for the code and you can configure it to generate a variety of files (C/C++ source code, static libraries, etc.). You can specify these settings through the 'coder.config' object or by modifying the settings in the 'Generate Code' pane of the MATLAB Coder app as seen in this link:
The processes to use the generated code ultimately depends on the configuration settings that I mentioned above; the following documentation link provides helpful information on how to use C/C++ code generated from MATLAB Coder:

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!