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

조회 수: 1(최근 30일)
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.

채택된 답변

Nick Choi
Nick Choi 2017년 11월 16일
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:

추가 답변(0개)


Community Treasure Hunt

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

Start Hunting!