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

3 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Nick Choi
Nick Choi am 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:

Weitere Antworten (0)

Kategorien

Mehr zu 代码生成 finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!