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

3 次查看(过去 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 个)

类别

Help CenterFile Exchange 中查找有关 代码生成 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!