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.
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: