MATLAB: Are all the libraries that Real-Time Workshop links when it builds a model necessary to run the model as a standalone application

buildnecessaryprocessrealsimulink codertime

I am searching for ways to reduce the size of the generated executable and related files needed to run a model as a standalone module. If I look at the make file that is generated in the Real-Time Workshop build directory, I see that a large number of libraries are being linked to create the executable from the model. I wanted to know that if all these libraries are essential to running the model, or all libraries are linked irrespective of whether they are needed.

Best Answer

Real-Time Workshop links in only the necessary libraries when building the model.